-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
39 lines (28 loc) · 898 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
{
"extends": "airbnb",
"env": {
"browser": true,
"mocha": true,
"node": true
},
"globals": {
__DEVTOOLS__: true
},
"rules": {
// Amendments to airbnb rules
// ##########################
// lodash is required with '_'
"id-length": [2, {"min": 2, "properties": "never", "exceptions": ["_"]}],
// require padding inside curly braces to enforce airbnb style guide
"object-curly-spacing": [2, "always"],
// allow use of constructors without new,
// makes working with Immutable.js easier
"new-cap": [2, {"capIsNew": false, "newIsCap": true}],
// makes testing easier with chai expect
"no-unused-expressions": 0,
// allow functions to be used before they are defined
"no-use-before-define": [2, "nofunc"],
// Enforce omitting truthy boolean attributes in JSX
"react/jsx-boolean-value": [2, "never"]
}
}