forked from meliorence/react-native-snap-carousel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
38 lines (38 loc) · 949 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
{
"parser" : "babel-eslint",
"extends" : [
"standard",
"standard-react"
],
"plugins": [
"react"
],
"env" : {
"browser" : true,
"es6": true
},
"globals": {
"__DEV__": false
},
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"generator-star-spacing": 0,
"indent": [2, 4, { "ignoredNodes": ["JSXAttribute", "JSXSpreadAttribute"], "SwitchCase": 1 }],
"no-warning-comments": [1, {
"terms": ["todo", "fixme", "xxx"],
"location": "start"
}],
"operator-linebreak": [2, "after"],
"padded-blocks": 0,
"semi": [2, "always"],
"react/jsx-indent-props": [2, 2],
"react/jsx-boolean-value": [0, "never"],
"react/jsx-curly-spacing": [0, "never"],
"react/jsx-indent": [2, 4]
}
}