1
1
{
2
- "plugins" : [" jest" , " @typescript-eslint" ],
2
+ "env" : {
3
+ "es6" : true ,
4
+ "jest" : true ,
5
+ "jest/globals" : true ,
6
+ "node" : true
7
+ },
3
8
"extends" : [" plugin:github/recommended" ],
4
9
"parser" : " @typescript-eslint/parser" ,
5
10
"parserOptions" : {
6
11
"ecmaVersion" : 9 ,
7
- "sourceType " : " module " ,
8
- "project " : " ./tsconfig.json "
12
+ "project " : " ./tsconfig.json " ,
13
+ "sourceType " : " module "
9
14
},
15
+ "plugins" : [
16
+ " @typescript-eslint" ,
17
+ " anti-trojan-source" ,
18
+ " jest"
19
+ ],
10
20
"rules" : {
11
- "eslint-comments/no-use" : " off" ,
12
- "filenames/match-regex" : [2 , " ^[a-z_]+(\\ .test)?$" , true ],
13
- "import/no-namespace" : " off" ,
14
- "no-unused-vars" : " off" ,
15
- "@typescript-eslint/no-unused-vars" : " off" ,
16
- "@typescript-eslint/explicit-member-accessibility" : [" error" , {"accessibility" : " no-public" }],
17
- "@typescript-eslint/no-require-imports" : " error" ,
18
21
"@typescript-eslint/array-type" : " error" ,
19
22
"@typescript-eslint/await-thenable" : " error" ,
20
23
"@typescript-eslint/ban-ts-comment" : " error" ,
21
- "camelcase" : " off" ,
22
24
"@typescript-eslint/consistent-type-assertions" : " error" ,
23
25
"@typescript-eslint/explicit-function-return-type" : [" error" , {"allowExpressions" : true }],
26
+ "@typescript-eslint/explicit-member-accessibility" : [" error" , {"accessibility" : " no-public" }],
24
27
"@typescript-eslint/func-call-spacing" : [" error" , " never" ],
25
28
"@typescript-eslint/no-array-constructor" : " error" ,
26
29
"@typescript-eslint/no-empty-interface" : " error" ,
31
34
"@typescript-eslint/no-misused-new" : " error" ,
32
35
"@typescript-eslint/no-namespace" : " error" ,
33
36
"@typescript-eslint/no-non-null-assertion" : " warn" ,
37
+ "@typescript-eslint/no-require-imports" : " error" ,
34
38
"@typescript-eslint/no-unnecessary-qualifier" : " error" ,
35
39
"@typescript-eslint/no-unnecessary-type-assertion" : " error" ,
40
+ "@typescript-eslint/no-unused-vars" : " off" ,
36
41
"@typescript-eslint/no-useless-constructor" : " error" ,
37
42
"@typescript-eslint/no-var-requires" : " error" ,
38
43
"@typescript-eslint/prefer-for-of" : " warn" ,
42
47
"@typescript-eslint/promise-function-async" : " error" ,
43
48
"@typescript-eslint/require-array-sort-compare" : " error" ,
44
49
"@typescript-eslint/restrict-plus-operands" : " error" ,
45
- "semi" : " off" ,
46
50
"@typescript-eslint/semi" : [" error" , " never" ],
47
51
"@typescript-eslint/type-annotation-spacing" : " error" ,
48
52
"@typescript-eslint/unbound-method" : " error" ,
49
- "i18n-text/no-en" : " off"
50
- },
51
- "env" : {
52
- "node" : true ,
53
- "jest" : true ,
54
- "es6" : true ,
55
- "jest/globals" : true
53
+ "anti-trojan-source/no-bidi" : " error" ,
54
+ "camelcase" : " off" ,
55
+ "eslint-comments/no-use" : " off" ,
56
+ "filenames/match-regex" : [2 , " ^[a-z_]+(\\ .test|\\ .d)?$" , true ],
57
+ "i18n-text/no-en" : " off" ,
58
+ "import/no-namespace" : " off" ,
59
+ "no-unused-vars" : " off" ,
60
+ "semi" : " off"
56
61
}
57
- }
62
+ }
0 commit comments