-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.eslintrc.yml
65 lines (60 loc) · 1.52 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
58
59
60
61
62
63
64
65
env:
node : true
browser : true
es2021 : true
extends:
- standard-with-typescript
overrides : []
parserOptions:
ecmaVersion : "latest"
sourceType : "module"
project:
- tsconfig.json
rules:
semi : [ 2, "never" ]
one-var : off
return-await : off
indent : off
no-multi-spaces : off
operator-linebreak : off
array-bracket-spacing:
- "error"
- "always"
key-spacing:
- "error"
- multiLine:
beforeColon : false
afterColon : true
align:
beforeColon : true
afterColon : true
"@typescript-eslint/indent": off
"@typescript-eslint/return-await": [ 1, "in-try-catch" ]
"@typescript-eslint/strict-boolean-expressions": off
"@typescript-eslint/restrict-plus-operands": off
"@typescript-eslint/no-base-to-string": off
"@typescript-eslint/naming-convention": off
"@typescript-eslint/array-type": off
"@typescript-eslint/key-spacing": off
"@typescript-eslint/consistent-type-imports": off
"@typescript-eslint/no-unused-vars":
- "error"
- varsIgnorePattern: "^_"
"@typescript-eslint/no-invalid-void-type":
- "error"
- allowInGenericTypeArguments: true
"@typescript-eslint/type-annotation-spacing":
- "error"
- before : true
after : true
overrides:
arrow:
before : true
after : true
ignorePatterns:
- build
- contrib
- coverage
- dist
- test
- rollup.config.ts