-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
.eslintrc.yaml
37 lines (37 loc) · 790 Bytes
/
.eslintrc.yaml
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
root: true
extends:
- "eslint:recommended"
- "plugin:import/recommended"
- "plugin:import/typescript"
- "plugin:@typescript-eslint/recommended"
- "plugin:prettier/recommended"
plugins:
- "only-warn"
ignorePatterns:
- "dist/"
env:
browser: true
settings:
import/resolver:
typescript: {}
rules:
no-var: "warn"
prefer-const: "warn"
prettier/prettier: "warn"
import/newline-after-import: "warn"
quotes:
- "warn"
- "double"
- avoidEscape: true
allowTemplateLiterals: false
sort-imports:
- "warn"
- ignoreDeclarationSort: true
import/order:
- "warn"
- groups: [builtin, external, internal, parent, sibling, index]
pathGroups:
- pattern: "@/**"
group: "internal"
alphabetize:
order: "asc"