-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc
50 lines (50 loc) · 1.23 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
{
"extends": "airbnb",
"parser": "babel-eslint",
"rules": {
"comma-dangle": [2, {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "ignore"
}],
"no-console": 2,
"camelcase": 0,
"no-use-before-define": [1, "nofunc"],
"no-param-reassign": 0,
"max-len": [1, 150],
"default-case": 0,
"no-continue": 0,
"arrow-body-style": 0,
"no-unused-expressions": [2, { "allowShortCircuit": true }],
"no-underscore-dangle": 0,
"prefer-template": 1,
"no-trailing-spaces":0,
"key-spacing":0,
"no-multi-spaces":0,
"new-cap": [2, { "capIsNewExceptions": ["Router"] }],
"generator-star-spacing": 0,
"react/sort-comp": [2, {
"order": [
"static-methods",
"lifecycle",
"everything-else",
"/^render.+$/",
"render"
]
}],
"react/no-unused-prop-types": [2, { "skipShapeProps": true }],
"react/prefer-stateless-function": 0,
"class-methods-use-this": 0,
"arrow-parens": 0,
"no-bitwise": 0,
"no-plusplus": 0,
"no-restricted-syntax": 0
},
"env": {
"browser": true,
"es6": true,
"node": true
}
}