-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.eslintrc.json
81 lines (81 loc) · 2.04 KB
/
.eslintrc.json
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"env": {
"es2021": true,
"node": true
},
"extends": [
"standard"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"import/extensions": "off",
"import/no-unresolved": "off",
"import/no-cycle": "off",
"no-underscore-dangle": 0,
"no-param-reassign": 0,
"no-console": 0,
"camelcase": 0,
"no-else-return": 0,
"no-unused-vars": 0,
"class-methods-use-this": 0,
"import/newline-after-import": 0,
"import/no-named-default": 0,
"prefer-destructuring": 0,
"comma-dangle": 0,
"array-bracket-spacing": 0,
"no-plusplus": 0,
"consistent-return": 0,
"object-curly-newline": 0,
"nonblock-statement-body-position": 0,
"no-extraneous-dependencies": 0,
"curly": 0,
"no-nested-ternary": 0,
"import/first": 0,
"import/no-extraneous-dependencies": 0,
"arrow-body-style": 0,
"key-spacing": 0,
"quote-props": 0,
"no-alert": 0,
"no-undef": 0,
"no-confusing-arrow": 0,
"one-var-declaration-per-line": 0,
"one-var": 0,
"lines-between-class-members": 0,
"max-classes-per-file": [
"error",
5
],
"max-len": [
"error",
{
"code": 120,
"tabWidth": 2
}
],
"no-constant-condition": [
"error",
{
"checkLoops": false
}
],
"no-restricted-syntax": 0,
"no-trailing-spaces": [
"error"
],
"no-useless-constructor": 0,
"no-empty-function": 0,
"import/prefer-default-export": 0,
"dot-notation": 0,
"no-lonely-if": 0,
"no-multi-spaces": 0,
"strict": 0,
"no-await-in-loop": 0
}
}