-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.eslintrc
37 lines (37 loc) · 961 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",
"plugins": [
"react-native"
],
"env": {
"jest": true
},
"extends": [
"airbnb",
"plugin:react-native/all"
],
"settings": {
"import/resolver": "react-native"
},
"globals": {
"fetch": false,
"window": true,
"document": true,
"device": true,
"$": true,
"$$": true,
"browser": true
},
"rules": {
"no-use-before-define": [0],
"import/no-extraneous-dependencies": ["error", {"devDependencies": ["__tests__/**/*.js", "__mocks__/**/*.js" , "storybook/**/*.js", "app/config/ReactotronConfig.js"]}],
"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],
"no-underscore-dangle": [0],
"max-len": [2, 140]
}
}