-
Notifications
You must be signed in to change notification settings - Fork 24
/
.eslintrc
50 lines (50 loc) · 1.18 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
{
"extends": "next",
"plugins": ["react"],
"globals": {
"console": "readonly",
"module": "readonly",
"process": "readonly",
"BigInt": "readonly",
"require": "readonly",
"Blob": "readonly",
"URL": "readonly",
"page": "readonly",
"browser": "readonly",
"context": "readonly",
"Promise": "readonly",
"setTimeout": "readonly",
"localStorage": "readonly",
"Uint8Array": "readonly",
"FileReader": "readonly",
"Set": "readonly",
"Math": "readonly",
"window": "readonly",
"Map": "readonly"
},
"rules": {
"eqeqeq": 0,
"no-await-in-loop": 2,
"no-shadow": 0,
"no-use-before-define": 0,
"no-unused-vars": 2,
"no-undef": 2,
"no-throw-literal": 2,
"react/forbid-prop-types": 0,
"react/jsx-curly-newline": 0,
"react/prefer-stateless-function": 0,
"react/state-in-constructor": 0,
"react/sort-comp": 0,
"default-case": 0,
"no-param-reassign": 0,
"class-methods-use-this": 0,
"no-restricted-syntax": 0,
"arrow-body-style": 0,
"prefer-const": 1
},
"ignorePatterns": [
"ui/declarations/**/*.js",
"ui/declarations/**/*.ts",
"src/declarations/**"
]
}