-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.yml
45 lines (45 loc) · 1.22 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
root: true
parser: "@typescript-eslint/parser"
plugins:
- "@typescript-eslint"
extends:
- eslint:recommended
- plugin:@typescript-eslint/recommended
- "@antfu"
rules:
"@typescript-eslint/explicit-module-boundary-types":
- error
- allowArgumentsExplicitlyTypedAsAny: true
"@typescript-eslint/quotes":
- error
- double
"@typescript-eslint/semi":
- error
- always
"@typescript-eslint/indent":
- error
- 4
"@typescript-eslint/comma-dangle":
- error
- never
"@typescript-eslint/brace-style":
- error
- 1tbs
"max-len": ["error", { "code": 100 }]
"indent": ["error", 4]
"semi": ["error", "always"]
"quotes": ["error", "double"]
"comma-dangle": ["error", "never"]
"arrow-parens": ["error", "as-needed"]
"linebreak-style": 0
"no-console": "off"
"no-trailing-spaces": "error"
"no-unused-vars": "warn"
"brace-style": ["error", "1tbs"]
"object-curly-spacing": ["error", "always"]
"array-bracket-spacing": ["error", "never"]
"space-in-parens": ["error", "never"]
"space-before-blocks": ["error", "always"]
"keyword-spacing": ["error", { "before": true, "after": true }]
"no-multiple-empty-lines": ["error", { "max": 1, "maxEOF": 1 }]
"curly": ["error", "all"]