Skip to content

linter/rulegen: Have the rulegen tool check the unsupported-rules before generating a rule #18045

@connorshea

Description

@connorshea

In the rulegen tool (just new-rule foo-bar), we should update the code to bail out with an error if the rule the user is attempting to generate is unsupported (meaning, not intended to be supported). We can pull in the unsupported-rules.json file and check if the rule is listed in it. If it is, we bail out and tell the user that this rule is not supported/not planned/not possible.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions