forked from TallKAway/techrace-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
39 lines (39 loc) · 1.25 KB
/
.eslintrc.json
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
{
"env": { "browser": true, "es2021": true },
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:react-native/all",
"prettier",
"plugin:@tanstack/eslint-plugin-query/recommended"
],
"parserOptions": { "ecmaVersion": "latest", "sourceType": "module" },
"plugins": ["@typescript-eslint", "prettier", "import", "react-hooks", "react-native"],
"rules": {
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/no-explicit-any": "error",
"padding-line-between-statements": [
"error",
{ "blankLine": "always", "prev": "*", "next": "return" }
],
"import/newline-after-import": 1,
"import/order": [
"warn",
{
"alphabetize": {
"order": "asc",
"caseInsensitive": true
},
"newlines-between": "always-and-inside-groups"
}
],
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"react-native/no-raw-text": [
"error",
{
"skip": ["ThemedText"]
}
],
"react-native/no-inline-styles": "warn"
}
}