-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy path.eslintrc
37 lines (37 loc) · 893 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
{
"plugins": [
"react-native"
],
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:react-native/all",
"plugin:react-hooks/recommended"
],
"parser": "@babel/eslint-parser",
"env": {
"es6": true,
"react-native/react-native": true
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"react-native/no-unused-styles": 0,
"react-native/sort-styles": 0,
"react-native/split-platform-components": 0,
"react-native/no-inline-styles": 0,
"react-native/no-color-literals": 0,
"react-native/no-raw-text": 2,
"react/jsx-uses-react": "warn",
"react/jsx-uses-vars": "warn",
"no-unused-vars": "warn",
"react/prop-types": 0,
"react-hooks/rules-of-hooks": "warn",
"react-hooks/exhaustive-deps": "warn"
}
}