-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
56 lines (54 loc) · 1.26 KB
/
.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"extends": "airbnb",
"rules": {
/** ES5 **/
"strict": 0,
"no-var": 0,
"prefer-const": 0,
"no-param-reassign": [2, { "props": false }],
"no-cond-assign": 0,
"guard-for-in": 0,
"no-loop-func": 0,
/** ES6 **/
"arrow-body-style": 0,
"prefer-template": 0,
"max-len": [1, 120, 2, {ignoreComments: true}],
"camelcase": 1,
"object-curly-spacing": [2, "always"],
"comma-dangle": [2, "never"],
"brace-style": 2,
"id-length": 0,
"new-cap": 0,
"no-else-return": 0,
"func-names": 0,
"react/sort-comp": [2, { order: [
"/fetchData/",
"lifecycle",
"/^_on.+$/",
"render",
"/^_render.+$/",
"everything-else"
]}],
"react/jsx-boolean-value": 0,
"react/jsx-curly-spacing": [2, "always"],
"react/jsx-closing-bracket-location": [2, 'after-props'],
"react/jsx-indent-props": [2, 2],
"react/jsx-no-duplicate-props": 2,
"react/jsx-no-undef": 2,
"react/jsx-no-bind": 0,
"react/no-direct-mutation-state": 2,
"react/no-multi-comp": 0,
"react/no-did-mount-set-state": 0
},
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"es6": true,
"mongo": true,
"mocha": true
},
"plugins": [
"mocha"
]
}