redocly-cli icon indicating copy to clipboard operation
redocly-cli copied to clipboard

Redocly CLI warns about unused rules when linting asyncAPI with the recommended ruleset

Open tatomyr opened this issue 1 year ago • 1 comments

Describe the bug

Running redocly lint <async-api-description> produces this warning:

image

Expected behavior

Ideally, there should be no warning.

API description Any async API 2.6/3 description.

Redocly Version(s)

v1.24.0, but it's there since introducing AsyncAPI linting.

Additional context

tatomyr avatar Sep 11 '24 10:09 tatomyr

The reason is inside file packages/core/src/config/recommended.ts. But we cannot simply fix it, because we can lose our extend functionality. Please, make sure it works as expected.

AlexVarchuk avatar Sep 11 '24 14:09 AlexVarchuk

Fixed in v1.26.0.

tatomyr avatar Jan 30 '25 12:01 tatomyr