Remove non-recommended rules from recommended config
See original GitHub issueThe version of ESLint you are using.
5.6.0/master
The problem you want to solve.
The eslint:recommended
config contains all ESLint rules. Non-recommended rules are explicitly set to “off”, while recommended rules are set to “error”.
This impacts users who might wish to extend eslint:recommended after having already extended a different configuration. The rules configured as “off” will override any rules configured as “warn” or “error” in the extended configuration.
In practice, this is pretty rare. However, it also seems that eslint:recommended should not explicitly turn off other rules.
Inspired by #10816.
Your take on the correct solution to problem.
Remove the “off” rules from eslint:recommended. This is technically a breaking change, so we should do this within a major release.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:6 (5 by maintainers)
Top GitHub Comments
This has been accepted for the next major release!
Working on this.