-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yml
57 lines (57 loc) · 1.18 KB
/
.eslintrc.yml
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
49
50
51
52
53
54
55
56
57
---
extends:
- eslint:recommended
- plugin:@typescript-eslint/recommended
- plugin:import/errors
- plugin:typescript-sort-keys/recommended
- plugin:react-hooks/recommended
parser: "@typescript-eslint/parser"
parserOptions:
project: ./tsconfig.json
tsconfigRootDir: .
plugins:
- "@typescript-eslint"
- sort-destructure-keys
- typescript-sort-keys
root: true
rules:
no-console: off
strict:
- error
- global
curly: warn
"@typescript-eslint/no-explicit-any": off
"@typescript-eslint/no-unused-vars":
- error
- argsIgnorePattern: "^_"
varsIgnorePattern: "^_"
import/order:
- error
- groups:
- builtin
- external
- internal
- sibling
- parent
- index
alphabetize:
order: asc
caseInsensitive: true
newlines-between: always
sort-imports:
- error
- ignoreDeclarationSort: true
sort-destructure-keys/sort-destructure-keys:
- error
- caseSensitive: false
react-hooks/exhaustive-deps: error
sort-keys:
- error
- asc
- caseSensitive: true
natural: true
settings:
import/resolver:
typescript:
webpack:
config: ./webpack.config.js