1
- import globals from ' globals' ;
2
- import js from ' @eslint/js' ;
3
- import nodePlugin from ' eslint-plugin-n' ;
4
- import tseslintPlugin from ' @typescript-eslint/eslint-plugin' ;
5
- import tseslintParser from ' @typescript-eslint/parser' ;
1
+ import globals from " globals" ;
2
+ import js from " @eslint/js" ;
3
+ import nodePlugin from " eslint-plugin-n" ;
4
+ import tseslintPlugin from " @typescript-eslint/eslint-plugin" ;
5
+ import tseslintParser from " @typescript-eslint/parser" ;
6
6
7
7
export default [
8
8
{
9
- files : [ ' src/**/*.js' , ' src/**/*.ts' ] ,
9
+ files : [ " src/**/*.js" , " src/**/*.ts" ] ,
10
10
languageOptions : {
11
11
ecmaVersion : 2022 ,
12
12
sourceType : "module" ,
@@ -15,20 +15,20 @@ export default [
15
15
ecmaFeatures : {
16
16
modules : true
17
17
} ,
18
- ecmaVersion : ' 2022' ,
19
- project : ' ./tsconfig.json' ,
18
+ ecmaVersion : " 2022" ,
19
+ project : " ./tsconfig.json" ,
20
20
} ,
21
21
globals : {
22
22
...globals . browser ,
23
23
}
24
24
} ,
25
25
plugins : {
26
- ' @typescript-eslint' : tseslintPlugin
26
+ " @typescript-eslint" : tseslintPlugin
27
27
} ,
28
28
rules : {
29
29
...js . configs . recommended . rules ,
30
- ...tseslintPlugin . configs [ ' eslint-recommended' ] . overrides [ 0 ] . rules ,
31
- ...tseslintPlugin . configs [ ' recommended' ] . rules ,
30
+ ...tseslintPlugin . configs [ " eslint-recommended" ] . overrides [ 0 ] . rules ,
31
+ ...tseslintPlugin . configs [ " recommended" ] . rules ,
32
32
}
33
33
} ,
34
34
{
0 commit comments