-
Notifications
You must be signed in to change notification settings - Fork 801
/
.eslintrc.json
43 lines (42 loc) · 1.01 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
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"plugin:react/recommended",
"google"
],
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"plugins": [
"react"
],
"rules": {
"indent": [2, 4],
"quotes": [2, "double"],
"object-curly-spacing": [2, "always"],
"require-jsdoc": [0],
"camelcase": [0],
"max-len": ["error", 100],
"prefer-promise-reject-errors": [0],
"guard-for-in": [0],
"react/prop-types": [0],
"new-cap": [0],
"prefer-spread": [0],
"max-len": [0],
"no-invalid-this": [0],
"react/display-name": [0],
"prefer-rest-params": [0],
"react/no-direct-mutation-state": [0],
"no-throw-literal": [1],
"react/no-find-dom-node": [1],
"react/no-string-refs": [1],
"react/no-deprecated": [1]
}
}