File tree Expand file tree Collapse file tree 3 files changed +29
-17
lines changed Expand file tree Collapse file tree 3 files changed +29
-17
lines changed Original file line number Diff line number Diff line change @@ -9,34 +9,37 @@ import { FlatCompat } from "@eslint/eslintrc";
9
9
const __filename = fileURLToPath ( import . meta. url ) ;
10
10
const __dirname = path . dirname ( __filename ) ;
11
11
const compat = new FlatCompat ( {
12
- baseDirectory : __dirname ,
13
- recommendedConfig : js . configs . recommended ,
14
- allConfig : js . configs . all
12
+ baseDirectory : __dirname ,
13
+ recommendedConfig : js . configs . recommended ,
14
+ allConfig : js . configs . all ,
15
15
} ) ;
16
16
17
- export default [ ...compat . extends (
17
+ export default [
18
+ ...compat . extends (
18
19
"eslint:recommended" ,
19
20
"plugin:@typescript-eslint/eslint-recommended" ,
20
21
"plugin:@typescript-eslint/recommended" ,
21
- "prettier" ,
22
- ) , {
22
+ "prettier"
23
+ ) ,
24
+ {
23
25
plugins : {
24
- "@typescript-eslint" : typescriptEslint ,
26
+ "@typescript-eslint" : typescriptEslint ,
25
27
} ,
26
28
27
29
languageOptions : {
28
- globals : {
29
- ...globals . node ,
30
- } ,
30
+ globals : {
31
+ ...globals . node ,
32
+ } ,
31
33
32
- parser : tsParser ,
33
- ecmaVersion : 5 ,
34
- sourceType : "module" ,
34
+ parser : tsParser ,
35
+ ecmaVersion : 5 ,
36
+ sourceType : "module" ,
35
37
36
- parserOptions : {
37
- project : "./tsconfig.json" ,
38
- } ,
38
+ parserOptions : {
39
+ project : "./tsconfig.json" ,
40
+ } ,
39
41
} ,
40
42
41
43
rules : { } ,
42
- } ] ;
44
+ } ,
45
+ ] ;
Original file line number Diff line number Diff line change 73
73
"eslint" : " ^9.17.0" ,
74
74
"eslint-config-prettier" : " ^9.1.0" ,
75
75
"eslint-plugin-prettier" : " ^5.2.1" ,
76
+ "globals" : " ^15.14.0" ,
76
77
"prettier" : " ^3.4.2" ,
77
78
"run-z" : " ^2.1.0" ,
78
79
"tsup" : " ^8.3.5" ,
You can’t perform that action at this time.
0 commit comments