-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.eslintrc
40 lines (40 loc) · 1.08 KB
/
.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
{
"root": true,
"extends": [
"airbnb",
"prettier",
"prettier/react",
"eslint:recommended",
"plugin:prettier/recommended"
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"plugins": ["react", "react-native", "module-resolver"],
"rules": {
"react/jsx-filename-extension": 0,
"react/prop-types": 0,
"react/state-in-constructor": 0,
"react/static-property-placement": 0,
"react/jsx-props-no-spreading": 0,
"no-use-before-define": 0,
"module-resolver/use-alias": 2
},
"settings": {
"import/resolver": {
"alias": {
"map": [
["@StyleConstants", "./app/config/styles.js"],
["@NavigationConstants", "./app/config/navigation.js"],
["Gruvee", "./app"]
],
"extensions": [".ts", ".js", ".jsx", ".json"]
}
}
}
}