forked from acdlite/recompose
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
40 lines (36 loc) · 857 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-config-airbnb",
"env": {
"browser": true,
"mocha": true,
"node": true
},
"globals": {
"expect": true,
"sinon": true
},
"rules": {
"semi": [2, "never"],
"comma-dangle": 0,
"no-wrap-func": 0,
"spaced-comment": 0,
"id-length": 0,
// Doesn't play nice with chai's assertions
"no-unused-expressions": 0,
"react/no-multi-comp": 0,
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/react-in-jsx-scope": 2,
"no-unused-vars": [2, {
"args": "after-used",
"argsIgnorePattern": "^_$"
}],
//Temporarily disabled due to a possible bug in babel-eslint (todomvc example)
"block-scoped-var": 0,
// Temporarily disabled for test/* until babel/babel-eslint#33 is resolved
"padded-blocks": 0
},
"plugins": [
"react"
]
}