-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
36 lines (36 loc) · 944 Bytes
/
.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
{
"extends": [
"react-app",
"react-app/jest",
"airbnb"
],
"rules": {
"strict": 0,
"no-console": 1,
"arrow-body-style": ["error", "always"],
"new-cap": ["error", { "properties": false }],
"no-param-reassign": ["error", { "props": false }],
"max-len": ["error", {
"ignoreUrls": true,
"ignoreStrings": true,
"ignoreTemplateLiterals": true,
"ignoreRegExpLiterals": true,
"code": 150
}],
"no-underscore-dangle": "off",
"no-tabs": "off",
"no-trailing-spaces": "error",
"indent": ["error", "tab", { "SwitchCase": 1 }],
"react/jsx-filename-extension": 0,
"react/jsx-indent": [2, "tab", { "indentLogicalExpressions": true }],
"react/jsx-indent-props": [2, "tab"],
"jsx-a11y/media-has-caption": 0,
"jsx-a11y/label-has-associated-control": "off"
},
"env": {
"browser": true,
"node": true,
"es6": true,
"jquery": true
}
}