-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc
40 lines (39 loc) · 978 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
37
38
39
40
{
"extends": "eslint:recommended",
"parser": "babel-eslint",
"env": {
"commonjs": true,
"node": true,
"browser": true,
"mocha": true
},
"settings": {
"ecmascript": 6,
"jsx": true
},
"plugins": [
"react"
],
"rules": {
"max-statements": [1, 15],
"max-params": [1, 4],
"max-len": [1, 120, 4],
"max-depth": [1, 2],
"complexity": [1, 3],
"strict": 0,
"no-console": 0,
"quotes": [2, "single"],
"no-trailing-spaces": [2, { "skipBlankLines": false }],
"camelcase": 0,
"indent": [2, 2],
"key-spacing": [2, {
"beforeColon": false,
"afterColon": true,
"mode": "minimum"
}],
"space-before-function-paren": [2, "never"],
"space-before-blocks": [2, "always"],
"space-after-keywords": [2, "always"],
"react/jsx-uses-react": 2
}
}