-
Notifications
You must be signed in to change notification settings - Fork 9
Description
What happened?
The Redocly VS Code extension does not respect the .redocly.lint-ignore.yaml file.
Even with valid entries in the ignore file, the extension continues to show all corresponding lint errors in the editor.
Running redocly lint via the CLI correctly ignores those issues, so the file itself is valid.
What should have happened instead?
The extension should honor .redocly.lint-ignore.yaml the same way the CLI does: any rule ignores listed in the ignore file should be suppressed in the VS Code linting output.
Minimal reproducible OpenAPI snippet
oas.yaml
openapi: 3.1.0
info:
title: Test API
version: 1.0.0
paths:
/test:
get:
responses:
'200':
description: OKredocly.yaml
rules:
no-empty-servers: error.redocly.lint-ignore.yaml (Auto generated using redocly lint --generate-ignore-file oas.yaml)
oas.yaml:
no-empty-servers:
- '#/openapi'
Screenshots
CLI: Before adding lint-ignore file
CLI: After adding lint-ignore file
Extension: Before & After adding lint-ignore file
Additional context
Extension Version: 0.9.25
CLI Version: 2.12.0
OAS Version: 3.1.0
OS: Mac
Behavior persists after reloading the window and reopening the workspace.