-
-
Notifications
You must be signed in to change notification settings - Fork 201
Expand file tree
/
Copy path.eslintrc
More file actions
48 lines (46 loc) · 1.1 KB
/
.eslintrc
File metadata and controls
48 lines (46 loc) · 1.1 KB
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
{
"root": true,
"parser": "@typescript-eslint/parser",
"env": {
"browser": true,
"node": true,
"es6": true
},
"settings": {
"react": {
"version": "detect"
}
},
"extends": [
"prettier",
"plugin:prettier/recommended",
"plugin:react-hooks/recommended",
"plugin:import/recommended",
"plugin:@react-three/recommended"
],
"plugins": [ "@typescript-eslint", "react", "react-hooks", "import", "unused-imports", "prettier", "@react-three" ],
"rules": {
"import/no-unresolved": "off",
"import/named": "off",
"import/namespace": "off",
"import/no-named-as-default-member": "off",
"import/extensions": [ "error", "ignorePackages" ],
"import/order": ["error", {
"groups": [
"builtin",
"external",
"internal",
["parent", "sibling", "index"],
"object",
"type"
],
"newlines-between": "never",
"alphabetize": {
"order": "asc",
"caseInsensitive": true
}
}],
// "simple-import-sort/imports": "error",
"unused-imports/no-unused-imports": "error"
}
}