-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
48 lines (47 loc) · 1.37 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
41
42
43
44
45
46
47
48
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "import"],
"extends": [
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:import/typescript",
"kingstinct-react-native"
],
"rules": {
"import/no-unused-modules": [1, {"missingExports": true, "unusedExports": false}],
"@typescript-eslint/no-unused-vars": ["error"],
"no-multiple-empty-lines": ["error", { "max": 2 }],
"no-use-before-define": "off",
"@typescript-eslint/no-use-before-define": ["error"],
"no-unused-vars": 0,
"@typescript-eslint/no-empty-function": 0,
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"jsx": "never",
"ts": "never",
"tsx": "never"
}
]
},
"parserOptions": {
"project": "./tsconfig.json"
},
"settings": {
"import/extensions": [".js", ".jsx", ".ts", ".tsx"],
"import/parsers": {
"@typescript-eslint/parser": [".ts", ".tsx"]
},
"import/resolver": {
"typescript": {
"project": "./tsconfig.json"
},
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
}
}