-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yml
77 lines (70 loc) · 1.87 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
66
67
68
69
70
71
72
73
74
75
76
77
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 : true
afterColon : true
align:
beforeColon : true
afterColon : true
promise/param-names : off
"@typescript-eslint/indent": off
"@typescript-eslint/return-await": [ 1, "in-try-catch" ]
"@typescript-eslint/explicit-function-return-type": off
"@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/require-array-sort-compare": off
"@typescript-eslint/no-useless-constructor": off
"@typescript-eslint/no-unused-vars":
- "error"
- argsIgnorePattern: "^_"
varsIgnorePattern: "^_"
caughtErrorsIgnorePattern: "^_"
destructuredArrayIgnorePattern: "^_"
ignoreRestSiblings: true
"@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:
- contrib
- demo
- dist
- docs
- scripts
- src/wip
- test
- rollup.config.ts