-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
29 lines (29 loc) · 773 Bytes
/
.eslintrc
File metadata and controls
29 lines (29 loc) · 773 Bytes
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
{
"parser": "babel-eslint",
"env": {
"react-native/react-native": true
},
"ecmaFeatures": {
"jsx": true
},
"plugins": ["react", "react-native", "prettier"],
"extends": ["eslint:recommended",
"plugin:react/recommended",
"plugin:prettier/recommended", "prettier", "plugin:react-hooks/recommended"],
"rules": {
"prettier/prettier": ["error", { "singleQuote": true, "jsxBracketSameLine": true }],
"no-console": "off",
"react/prop-types": "off",
"no-unused-vars": "warn",
"react/display-name": "off",
"react/no-unescaped-entities": "off",
"react/no-deprecated": "warn",
"jsx-quotes":[2, "prefer-single"]
},
"parserOptions": {
"ecmaFeatures": {
"legacyDecorators": true,
"jsx": true
}
}
}