-
-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy path.eslintrc
45 lines (45 loc) · 1.43 KB
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"unused-imports",
"unicorn"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:unicorn/recommended"
],
"rules": {
"semi": 2,
"indent": 0,
"unused-imports/no-unused-imports": 1,
"no-constant-condition": [2, { "checkLoops": false }],
"@typescript-eslint/explicit-member-accessibility": 1,
"@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/no-unused-vars": 0,
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/indent": 2,
"@typescript-eslint/ban-types": 0,
"@typescript-eslint/ban-ts-comment": 0,
"unicorn/prevent-abbreviations": 0,
"unicorn/catch-error-name": [ 2, { "name": "err" }],
"unicorn/no-null": 0,
"unicorn/no-array-reduce": 0,
"unicorn/filename-case": 0,
"unicorn/prefer-ternary": 0,
"unicorn/prefer-module": 0,
"unicorn/no-useless-undefined": 0,
"unicorn/prefer-event-target": 0
},
"env": {
"commonjs": true,
"browser": true,
"node": true
}
}