eslint-plugin-only-warn icon indicating copy to clipboard operation
eslint-plugin-only-warn copied to clipboard

Exception to make errors for some rules

Open unlight opened this issue 3 years ago • 0 comments
trafficstars

Since all rules are warnings only, we do not need eslint-disable to make exceptions (ci checks passes). But for some rules (related to eslint-disable) I want to make exceptions - they must generate errors only:

  • https://github.com/unlight/eslint-plugin-no-eslint-disable
  • https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-abusive-eslint-disable.md
  • https://github.com/edwardpayton/eslint-plugin-no-empty-disable

Is it possible to add exceptions as feature or it's out of scope?

unlight avatar Jul 29 '22 21:07 unlight