-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
36 lines (36 loc) · 938 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
{
"parser": "babel-eslint",
"extends": "eslint-config-airbnb",
"env": {
"browser": true,
"node": true,
"jasmine": true
},
"rules": {
no-undef: 2,
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/react-in-jsx-scope": 2,
"indent": [2, 2, {"SwitchCase": 1}],
"react/jsx-boolean-value": 0,
// Temporarirly 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,
"comma-dangle": 0, // not sure why airbnb turned this on. gross!
"id-length": 0, // not sure why airbnb turned this on. gross!
"no-console": 0,
"no-alert": 0
},
"plugins": [
"react"
],
"globals": {
"__DEV__": false,
"__PROD__": false,
"__CORDOVA__": false,
"__DEVTOOLS__": false,
"__CLIENT__": false,
"__SERVER__": false
}
}