-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc.json
62 lines (55 loc) · 1.57 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
{
"parser": "@babel/eslint-parser",
"env": {
"browser": true
},
"extends": [
"plugin:react/recommended"
],
"plugins": [
"react"
],
"rules": {
"arrow-body-style": ["off"],
"class-methods-use-this": ["off"],
"comma-dangle": ["off"],
"dot-notation": ["off"],
"eqeqeq": ["error", "always"],
"import/extensions": ["off"],
"import/prefer-default-export": ["off"],
"indent": ["off"],
"linebreak-style": ["off"],
"max-classes-per-file": ["off"],
"max-len": ["off"],
"no-console": ["off"],
"no-multi-spaces": ["off"],
"no-multiple-empty-lines": ["off"],
"no-param-reassign": ["off"],
"no-plusplus": ["off"],
"no-restricted-syntax": ["off"],
"no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }],
"no-useless-constructor": ["off"],
"object-curly-spacing": ["off"],
"object-shorthand": ["off"],
"operator-linebreak": ["warn"],
"prefer-destructuring": ["off"],
"prefer-template": ["off"],
"quote-props": ["error", "consistent"],
"quotes": ["off"],
"radix": ["off"],
"react/no-unescaped-entities": [ "error", { "forbid": [">", "}"] }],
"semi": ["error", "always"],
"react/prop-types": ["off"]
},
"settings": {
"react": {
"version": "detect"
}
},
"overrides": [
{
"files": [ "**/*.test.js" ],
"env": { "jest": true }
}
]
}