Skip to content

unused-disable-directive ​

Report suppression comments that suppress no diagnostics when reporting is enabled.

CategoryRecommendedSafe autofixDefault options
correctnessnononone

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

Released under the MIT License.