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