File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -39,9 +39,15 @@ module.exports = [
39
39
...importXPlugin . flatConfigs . recommended . languageOptions ,
40
40
...nodePlugin . configs [ 'flat/recommended-script' ] . languageOptions ,
41
41
ecmaVersion : LATEST ,
42
- globals : Object . fromEntries (
43
- Object . entries ( globals . node ) . map ( ( [ k ] ) => [ k , 'readonly' ] )
44
- ) ,
42
+ globals : {
43
+ ...js . configs . recommended . languageOptions ?. globals ,
44
+ ...importXPlugin . flatConfigs . recommended . languageOptions ?. globals ,
45
+ ...nodePlugin . configs [ 'flat/recommended-script' ] . languageOptions
46
+ ?. globals ,
47
+ ...Object . fromEntries (
48
+ Object . entries ( globals . node ) . map ( ( [ k ] ) => [ k , 'readonly' ] )
49
+ )
50
+ } ,
45
51
sourceType : 'script'
46
52
} ,
47
53
linterOptions : {
Original file line number Diff line number Diff line change 33
33
"noUnusedParameters" : true ,
34
34
"noUncheckedSideEffectImports" : true
35
35
},
36
- "include" : [" **/*.ts" ],
37
- "exclude" : []
36
+ "include" : [" **/*.ts" ]
38
37
}
You can’t perform that action at this time.
0 commit comments