unused-disable-directive
Report suppression comments that suppress no diagnostics when reporting is enabled.
| Category | Recommended | Safe autofix | Default options |
|---|---|---|---|
| correctness | no | no | none |
Reports stale suppression comments when reporting is enabled.
Configuration
json
{ "rules": { "unused-disable-directive": "error" } }Triggered by
text
# gherkin-refine-disable-next-line name-length -- legacy title