-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
41 lines (41 loc) · 667 Bytes
/
.eslintrc
File metadata and controls
41 lines (41 loc) · 667 Bytes
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
41
{
"extends": "airbnb",
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"browser": true,
"node": true
},
"plugins": [
"react"
],
"rules": {
"max-len": ["error", 120],
"no-underscore-dangle": 0,
"comma-dangle": 0,
"react/prefer-es6-class": 0,
"react/jsx-indent": [2, 4],
"react/jsx-indent-props": [2, 4],
"indent": [
2,
4,
{
"SwitchCase": 1
}
]
// http://eslint.org/docs/rules/indent
},
"settings": {
"import/resolve": {
"extensions": [
".es6",
".js",
".jsx"
]
}
}
}