File tree Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ npm-debug.log
7
7
_test.js
8
8
.idea
9
9
.vscode
10
+ * .code-workspace
10
11
.nyc_output
11
12
.eslint-release-info.json
12
13
yarn.lock
Original file line number Diff line number Diff line change
1
+ import { defineConfig , globalIgnores } from "eslint/config" ;
1
2
import eslintConfigESLint from "eslint-config-eslint" ;
2
3
import eslintConfigESLintFormatting from "eslint-config-eslint/formatting" ;
3
4
import eslintPluginChaiFriendly from "eslint-plugin-chai-friendly" ;
4
5
import globals from "globals" ;
5
6
6
- export default [
7
- {
8
- ignores : [
9
- "**/tests/fixtures/" ,
10
- "**/dist/" ,
11
- "**/coverage/" ,
12
- "packages/espree/tools/create-test-example.js"
13
- ]
14
- } ,
15
- ...eslintConfigESLint ,
7
+ export default defineConfig ( [
8
+ globalIgnores ( [
9
+ "**/tests/fixtures/" ,
10
+ "**/dist/" ,
11
+ "**/coverage/" ,
12
+ "packages/espree/tools/create-test-example.js"
13
+ ] ) ,
14
+ eslintConfigESLint ,
16
15
eslintConfigESLintFormatting ,
17
16
{
18
17
files : [ "packages/*/tests/lib/**" ] ,
@@ -76,4 +75,4 @@ export default [
76
75
"n/no-process-exit" : "off"
77
76
}
78
77
}
79
- ] ;
78
+ ] ) ;
Original file line number Diff line number Diff line change 23
23
},
24
24
"devDependencies" : {
25
25
"c8" : " ^10.1.3" ,
26
- "eslint" : " ^9.11.1 " ,
26
+ "eslint" : " ^9.31.0 " ,
27
27
"eslint-config-eslint" : " ^11.0.0" ,
28
28
"eslint-plugin-chai-friendly" : " ^1.0.0" ,
29
29
"globals" : " ^15.1.0" ,
You can’t perform that action at this time.
0 commit comments