-
Notifications
You must be signed in to change notification settings - Fork 10
/
.eslintrc.json
45 lines (45 loc) · 1.12 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
{
"parser": "@typescript-eslint/parser",
"extends": ["next/core-web-vitals"],
"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-throw-literal": 2,
"react/forbid-prop-types": 0,
"react/jsx-curly-newline": 0,
"react/prefer-stateless-function": 0,
"react/state-in-constructor": 0,
"react-hooks/exhaustive-deps": 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
}
}