forked from ueno-llc/react-native-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
40 lines (40 loc) · 883 Bytes
/
.eslintrc
File metadata and controls
40 lines (40 loc) · 883 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
{
"extends": "airbnb",
"parser": "babel-eslint",
"plugins": [
"react-native",
"detox",
"jest"
],
"rules": {
"react/prefer-stateless-function": 0,
"react/jsx-filename-extension": 0,
"jsx-a11y/href-no-hash": 0,
"no-use-before-define": 0,
"padded-blocks": 0,
"padding-line-between-statements": 0,
"new-cap": 0,
"class-methods-use-this": 0,
"react/forbid-prop-types": 0,
"global-require": 0,
"import/no-unresolved": [2, {
"ignore": ["\\.png$", "\\.jpg$"]
}],
"react-native/no-unused-styles": 2,
"react-native/split-platform-components": 1,
"react-native/no-inline-styles": 2,
"react-native/no-color-literals": 0
},
"settings": {
"import/resolver": {
"babel-module": {}
}
},
"globals": {
"fetch": true,
"__DEV__": true
},
"env": {
"jest/globals": true
}
}