-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
165 lines (165 loc) · 2.67 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
root: true
env:
node: true
browser: false
parser: '@typescript-eslint/parser'
parserOptions:
ecmaVersion: 14
sourceType: module
project:
- ./tsconfig.json
plugins:
- '@typescript-eslint'
- import-quotes
rules:
import-quotes/import-quotes:
- 1
- single
indent:
- error
- 2
- SwitchCase: 1
ignoredNodes:
- PropertyDefinition # This is for decorated properties that get indented
keyword-spacing:
- error
- before: true
after: true
linebreak-style:
- error
- unix
quotes:
- error
- single
semi:
- error
- always
no-dupe-keys:
- error
no-extra-semi:
- error
no-invalid-regexp:
- error
no-sparse-arrays:
- warn
no-template-curly-in-string:
- warn
no-unreachable:
- warn
no-unsafe-finally:
- warn
require-atomic-updates:
- warn
use-isnan:
- warn
valid-typeof:
- warn
eqeqeq:
- error
- always
no-multi-spaces:
- error
no-octal:
- error
no-throw-literal:
- error
no-useless-catch:
- error
no-useless-return:
- error
radix:
- error
- always
wrap-iife:
- error
- inside
array-bracket-newline:
- error
- consistent
array-bracket-spacing:
- error
block-spacing:
- error
brace-style:
- error
- 1tbs
- allowSingleLine: true
comma-dangle:
- error
- always-multiline
comma-spacing:
- error
func-call-spacing:
- error
jsx-quotes:
- error
- prefer-single
key-spacing:
- error
lines-between-class-members:
- error
- always
- exceptAfterSingleLine: true
new-parens:
- error
no-bitwise:
- error
no-mixed-spaces-and-tabs:
- error
no-multiple-empty-lines:
- error
no-nested-ternary:
- error
no-trailing-spaces:
- error
quote-props:
- error
- consistent-as-needed
space-before-function-paren:
- error
- anonymous: always
named: always
asyncArrow: always
arrow-parens:
- error
- as-needed
space-in-parens:
- error
space-infix-ops:
- error
space-unary-ops:
- error
spaced-comment:
- error
switch-colon-spacing:
- error
unicode-bom:
- error
arrow-spacing:
- error
constructor-super:
- error
generator-star-spacing:
- error
- after
no-confusing-arrow:
- error
no-this-before-super:
- error
no-var:
- error
object-shorthand:
- error
prefer-arrow-callback:
- error
prefer-const:
- error
rest-spread-spacing:
- error
symbol-description:
- error
yield-star-spacing:
- error
'@typescript-eslint/consistent-type-imports':
- error
- fixStyle: separate-type-imports