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 1
1
import 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" ;
4
2
import globals from "globals" ;
5
3
6
4
export default [
@@ -12,26 +10,7 @@ export default [
12
10
"tools/create-test-example.js"
13
11
]
14
12
} ,
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 ,
35
14
{
36
15
files : [ "tests/lib/**" ] ,
37
16
languageOptions : {
Original file line number Diff line number Diff line change 43
43
"c8" : " ^7.11.0" ,
44
44
"chai" : " ^4.3.6" ,
45
45
"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" ,
48
47
"eslint-release" : " ^3.2.0" ,
49
48
"esprima-fb" : " ^8001.2001.0-dev-harmony-fb" ,
50
49
"globals" : " ^13.20.0" ,
You can’t perform that action at this time.
0 commit comments