-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configure ESLint's own rules (#1815)
Update the ESLint config to enable and configure most of its own rules. This iteration on the configuration is mostly focussed on enabling rules the code base already complies with or can trivially comply with to ensure consistency going forward. Any rule that has been disabled may be reconsidered in the future. Note that rules marked as "deprecated" by ESLint were not included here. Notably, the `prefer-object-has-own` rule was disabled because it is not compatible with Node v14.18.0, which is still supported by this package. This also re-enables the rule `ava/prefer-t-regex` disabled earlier because of incompatibility in 56004b9.
- Loading branch information
1 parent
c0b83d2
commit 90c1a5c
Showing
15 changed files
with
287 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.