-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update templates for eslint v9 (#179)
* feat: update templates for eslint v9 1. use flat config 2. add .npmrc (package-lock=false), just same as eslint repo 3. update required node.js & eslint * chore: fix linting errors * chore: npm ci => npm install * chore: rm .eslintignore * ci: update gha ci v4 * chore: update jsdoc * chore: update eslint-config-eslint v10 * fix: use 'flat/mixed-esm-and-cjs'
- Loading branch information
1 parent
66c6b9b
commit c383e9c
Showing
18 changed files
with
70 additions
and
18,319 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
package-lock = false |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import globals from "globals"; | ||
import eslintConfigESLint from "eslint-config-eslint"; | ||
|
||
export default [ | ||
...eslintConfigESLint, | ||
{ | ||
name: "generator-eslint/global-ignores", | ||
ignores: ["temp/", "*/templates/*"] | ||
}, | ||
{ | ||
name: "generator-eslint/test-files", | ||
files: ["tests/**/*.js"], | ||
languageOptions: { globals: globals.mocha } | ||
} | ||
]; |
Oops, something went wrong.