-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
104 lines (104 loc) · 2.6 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
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "unused-imports"],
"rules": {
"no-unused-vars": "off",
"unused-imports/no-unused-imports": "error",
"comma-spacing": 2,
"curly": 2,
"no-fallthrough": 2,
"no-redeclare": 2,
"no-undef": 2,
"no-console": 0,
"no-use-before-define": "off",
"no-array-constructor": 2,
"no-new-wrappers": 2,
"no-new-object": 2,
"comma-dangle": 2,
"no-cond-assign": 2,
"no-debugger": 2,
"no-dupe-keys": 2,
"no-inner-declarations": 2,
"complexity": 2,
"max-depth": [2, 4],
"no-const-assign": 2,
"no-var": 2,
"object-shorthand": [2, "properties"],
"quotes": 0,
"quote-props": [2, "consistent-as-needed"],
"array-callback-return": 2,
"prefer-template": 2,
"template-curly-spacing": [2, "never"],
"no-useless-escape": 2,
"wrap-iife": [2, "inside"],
"no-loop-func": 2,
"prefer-rest-params": 2,
"space-before-blocks": [2, "always"],
"no-prototype-builtins": "off",
"no-param-reassign": 2,
"prefer-arrow-callback": 2,
"arrow-spacing": 2,
"arrow-parens": [2, "always"],
"arrow-body-style": [2, "always"],
"no-confusing-arrow": 1,
"no-useless-constructor": 0,
"no-dupe-class-members": 2,
"no-duplicate-imports": 2,
"no-iterator": 2,
"dot-notation": 0,
"one-var": [2, "never"],
"eqeqeq": 2,
"no-case-declarations": 2,
"no-nested-ternary": 2,
"no-unneeded-ternary": 2,
"no-constant-condition": "off",
"brace-style": [2, "1tbs"],
"spaced-comment": 2,
"semi": [2, "always"],
"camelcase": 2,
"no-underscore-dangle": [
2,
{
"allow": ["__dirname", "__filename"]
}
],
"indent": [2, 2, {"SwitchCase": 1}],
"keyword-spacing": 2,
"space-infix-ops": 2,
"padded-blocks": [2, "never"],
"space-in-parens": [2, "never"],
"array-bracket-spacing": [2, "never"],
"max-len": [1, 120]
},
"globals": {
"__dirname": true,
"__filename": true,
"require": true,
"HTMLImageElement": true,
"HTMLElement": true,
"HTMLInputElement": true,
"HTMLButtonElement": true,
"confirm": true,
"Image": true,
"URL": true,
"window": true,
"console": true,
"module": true,
"document": true,
"KeyboardEvent": true,
"setTimeout": true,
"clearInterval": true,
"expect": true,
"global": true,
"alert": true,
"it": true,
"fetch": true,
"describe": true,
"beforeEach": true,
"afterEach": true,
"jest": true,
"beforeAll": true,
"afterAll": true
}
}