forked from cactis/react-native-select-input
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
53 lines (53 loc) · 1016 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
45
46
47
48
49
50
51
52
53
{
"parser": "babel-eslint",
"plugins": [
"react-native"
],
"env": {
"jest": true
},
"extends": [
"airbnb",
"plugin:react-native/all"
],
"globals": {
"fetch": false
},
"rules": {
"global-require": 0,
"no-use-before-define": [0],
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": [
"./src/__tests__/*"
]
}
],
"react/jsx-filename-extension": [
1,
{
"extensions": [
".js",
".jsx"
]
}
],
"react/jsx-no-literals": [
1,
{
"noStrings": true
}
],
"react-native/no-color-literals": [0],
"react-native/no-inline-styles": [0],
"react-native/split-platform-components": [0],
"react/jsx-no-bind": [0],
"import/prefer-default-export": [0],
"no-underscore-dangle": [0],
"consistent-return": [0],
"no-return-assign": [0],
"max-len": [2, 140],
"react/forbid-prop-types": 0,
}
}