-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
30 lines (29 loc) · 941 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
{
"extends": "airbnb",
"plugins": [
"react",
"import"
],
"rules": {
"indent": [2, 4],
"max-len": [1, 120, 4, {"ignoreUrls": true}],
"id-length": [1, {"min": 2, "exceptions": ["x", "y", "e", "i", "j", "k", "d", "n", "_", "$"]}],
"object-shorthand": [2, "methods"],
"arrow-body-style": [0],
"no-new": [1],
"no-multi-spaces": [0],
"no-warning-comments": [1, { "terms": ["todo", "fixme", "xxx"], "location": "start" }],
"react/sort-comp": [0],
"react/jsx-boolean-value": [0],
"react/jsx-no-bind": [0],
"react/prefer-es6-class": [0, "never"],
"react/jsx-indent-props": [2, 4],
"react/jsx-indent": [2, 4],
"jsx-quotes": [1, "prefer-double"],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }]
},
"env": {
"es6": true,
"browser": true
}
}