ESLint version
8.0.0
What problem do you want to solve?
ESLint currently allows users to disable rules. In large codebases with MANY Prs, some users disable lint rules without really knowing what they are doing. This slips by PRs because reviewers sometimes don't actually review ¯\_(ツ)_/¯
There exists rules such as no-abusive-eslint-disable but that in and of itself can be disabled
What do you think is the correct solution?
I'd like ESLint to allow users to configure certain rules to be exempt from all comment style disables
eslintrc: "noExtraSemi": ["error", "dissalowDisable"]
eslintrc: "noExtraSemi": ["forbid"]
so in code
// eslint-disable-next-line noExtraSemi
const foo = 5;;
Would still result in an error
Participation
Additional comments
No response
ESLint version
8.0.0
What problem do you want to solve?
ESLint currently allows users to disable rules. In large codebases with MANY Prs, some users disable lint rules without really knowing what they are doing. This slips by PRs because reviewers sometimes don't actually review ¯\_(ツ)_/¯
There exists rules such as
no-abusive-eslint-disablebut that in and of itself can be disabledWhat do you think is the correct solution?
I'd like ESLint to allow users to configure certain rules to be exempt from all comment style disables
eslintrc:"noExtraSemi": ["error", "dissalowDisable"]eslintrc:
"noExtraSemi": ["forbid"]so in code
Would still result in an error
Participation
Additional comments
No response