-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
41 lines (41 loc) · 943 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
{
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"jsx, js": true
}
},
"plugins": ["react", "react-native", "import"],
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:react/recommended",
"plugin:react-native/all",
"airbnb-base"
],
"rules": {
"class-methods-use-this": "off",
"no-use-before-define": 1,
"react-native/no-color-literals": 0,
"react-native/no-inline-styles": 0,
"no-underscore-dangle": "off",
"no-undef": "off",
"import/no-extraneous-dependencies": "off",
"react-native/sort-styles": "off",
"import/prefer-default-export": "off",
"comma-dangle": "off"
},
"settings": {
"import/resolver": {
"babel-plugin-root-import": {
"rootPathPrefix": "~",
"rootPathSuffix": "src"
}
}
},
"env": {
"jest": true
}
}