Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: switch eslint-config-eslint to the flat format (#17247)
* chore: switch eslint-config-eslint to the flat format 1. convert eslint-config-eslint to the flat format. 2. export eslint-config-eslint/eslintrc (used by testing). 3. upgrade `eslint-plugin-n` v16 (added flat config supports). 4. change eslint plugins peerDependencies => dependencies. 5. change lib/eslint/eslint.js, lib/eslint/flat-eslint.js test cases to make the ci happy. note: it's a breaking change for eslint-config-eslint. refs: https://eslint.org/docs/latest/use/configure/configuration-files-new * fix: add linterOptions * chore: update comments as .eslintrc.js is no longer needed for testing
- Loading branch information
1 parent
391ed38
commit b991640
Showing
11 changed files
with
897 additions
and
388 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
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.