-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
36 lines (36 loc) · 913 Bytes
/
.eslintrc.json
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": "airbnb",
"plugins": [
"react"
],
"rules": {
"indent": ["error", 4],
"eol-last": 0,
"strict": 0,
"padded-blocks": 0,
"comma-dangle": ["error", "never"],
"arrow-body-style": 0,
"no-underscore-dangle": 0,
"no-unused-expressions": [2, {
"allowShortCircuit": true,
"allowTernary": true
}],
"no-nested-ternary": 0,
"array-callback-return": 0,
"max-len": ["error", 120],
"import/newline-after-import": 0,
"global-require": 0,
"react/require-extension": "off",
"dot-location": ["error", "object"],
"new-cap": ["error", {
"capIsNewExceptions": ["Q"]
}],
"no-param-reassign": ["error", {
"props": false
}]
},
"env": {
"node": true,
"mocha": true
}
}