File tree Expand file tree Collapse file tree 2 files changed +2
-24
lines changed
Expand file tree Collapse file tree 2 files changed +2
-24
lines changed Original file line number Diff line number Diff line change 11import eslintConfigESLint from "eslint-config-eslint" ;
2- import nodeRecommendedModule from "eslint-plugin-n/configs/recommended-module.js" ;
3- import nodeRecommendedScript from "eslint-plugin-n/configs/recommended-script.js" ;
42import globals from "globals" ;
53
64export default [
@@ -12,26 +10,7 @@ export default [
1210 "tools/create-test-example.js"
1311 ]
1412 } ,
15-
16- // eslintConfigESLint[3] is eslint-plugin-n's recommended-script config
17- ...eslintConfigESLint . slice ( 0 , 3 ) ,
18- {
19- files : [ "**/*.js" ] ,
20- ...nodeRecommendedModule
21- } ,
22- {
23- files : [ "**/*.cjs" ] ,
24- ...nodeRecommendedScript
25- } ,
26- ...eslintConfigESLint . slice ( 4 ) ,
27-
28- {
29- settings : {
30- jsdoc : {
31- mode : "typescript"
32- }
33- }
34- } ,
13+ ...eslintConfigESLint ,
3514 {
3615 files : [ "tests/lib/**" ] ,
3716 languageOptions : {
Original file line number Diff line number Diff line change 4343 "c8" : " ^7.11.0" ,
4444 "chai" : " ^4.3.6" ,
4545 "eslint" : " ^8.44.0" ,
46- "eslint-config-eslint" : " ^8.0.0" ,
47- "eslint-plugin-n" : " ^16.0.0" ,
46+ "eslint-config-eslint" : " ^9.0.0" ,
4847 "eslint-release" : " ^3.2.0" ,
4948 "esprima-fb" : " ^8001.2001.0-dev-harmony-fb" ,
5049 "globals" : " ^13.20.0" ,
You can’t perform that action at this time.
0 commit comments