@@ -2,38 +2,38 @@ module.exports = {
2
2
root : true ,
3
3
parser : '@typescript-eslint/parser' ,
4
4
parserOptions : {
5
- ecmaVersion : 6 ,
6
- sourceType : 'module'
5
+ ecmaVersion : 6 ,
6
+ sourceType : 'module'
7
7
} ,
8
8
env : {
9
- es6 : true ,
10
- browser : true ,
11
- jest : true ,
12
- commonjs : true ,
13
- node : true
9
+ es6 : true ,
10
+ browser : true ,
11
+ jest : true ,
12
+ commonjs : true ,
13
+ node : true
14
14
} ,
15
15
plugins : [
16
16
'@typescript-eslint' ,
17
17
'prettier'
18
18
] ,
19
19
extends : [
20
- 'eslint:recommended' ,
21
- 'plugin:@typescript-eslint/eslint-recommended' ,
22
- 'plugin:@typescript-eslint/recommended' ,
23
- 'prettier/@typescript-eslint'
20
+ 'eslint:recommended' ,
21
+ 'plugin:@typescript-eslint/eslint-recommended' ,
22
+ 'plugin:@typescript-eslint/recommended' ,
23
+ 'prettier/@typescript-eslint'
24
24
] ,
25
25
globals : {
26
- wx : true ,
27
- App : true ,
28
- Page : true ,
29
- Component : true
26
+ wx : true ,
27
+ App : true ,
28
+ Page : true ,
29
+ Component : true
30
30
} ,
31
31
rules : {
32
- 'prettier/prettier' : 'error' ,
33
- '@typescript-eslint/ban-ts-ignore' : 'off' ,
34
- '@typescript-eslint/no-empty-function' : 'off' ,
35
- '@typescript-eslint/explicit-function-return-type' : 'off' ,
36
- '@typescript-eslint/no-explicit-any' : 'off' ,
37
- '@typescript-eslint/no-non-null-assertion' :'off'
32
+ 'prettier/prettier' : 'error' ,
33
+ '@typescript-eslint/ban-ts-ignore' : 'off' ,
34
+ '@typescript-eslint/no-empty-function' : 'off' ,
35
+ '@typescript-eslint/explicit-function-return-type' : 'off' ,
36
+ '@typescript-eslint/no-explicit-any' : 'off' ,
37
+ '@typescript-eslint/no-non-null-assertion' : 'off'
38
38
} ,
39
39
}
0 commit comments