-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: bump ESLint dependencies (#2063)
Mainly, bump ESLint to v7, which figures out extensions from `overrides`, so we no longer need to pass `--ext`.
- Loading branch information
Showing
8 changed files
with
164 additions
and
87 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,19 @@ | ||
// @noflow | ||
module.exports = { | ||
root: true, | ||
reportUnusedDisableDirectives: true, | ||
overrides: [ | ||
{ | ||
files: '*.{js,js.flow}', | ||
extends: ['./config/eslintJS'], | ||
files: "*.js", | ||
extends: ["./config/eslintJS"], | ||
}, | ||
{ | ||
files: '*.ts', | ||
extends: ['./config/eslintTS'], | ||
files: "*.js.flow", | ||
extends: ["./config/eslintJS"], | ||
}, | ||
{ | ||
files: "*.ts", | ||
extends: ["./config/eslintTS"], | ||
}, | ||
], | ||
}; |
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
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.