-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
executable file
·44 lines (44 loc) · 985 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
41
42
43
44
{
"parser": "babel-eslint",
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"standard"
],
"env": {
"jest": true
},
"plugins": [
"flowtype-errors",
"react",
"react-native"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"react-native/no-unused-styles": 2,
"react-native/split-platform-components": 2,
"react-native/no-inline-styles": 0,
"flowtype-errors/show-errors": 2,
"react/prop-types": 0,
"no-console": 0,
"react/sort-comp": 2,
"react/no-string-refs": 0,
"no-undef": 0,
"indent": [
2,
2
],
"template-tag-spacing": ["error", "never"]
},
"globals": {
"fetch": true,
"enquire": true,
"FontFaceObserver": true,
"imagesloaded": true,
"Modernizr": true
}
}