-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yml
170 lines (170 loc) · 2.62 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
166
167
168
169
170
env:
es2022: true
node: true
extends:
- eslint:recommended
parserOptions:
ecmaVersion: latest
sourceType: module
rules:
no-duplicate-imports:
- warn
camelcase:
- error
- properties: always
ignoreDestructuring: true
object-shorthand:
- warn
- always
operator-assignment:
- warn
- always
prefer-arrow-callback:
- error
arrow-parens:
- warn
prefer-const:
- warn
prefer-exponentiation-operator:
- warn
prefer-template:
- warn
spaced-comment:
- warn
- always
yoda:
- warn
array-bracket-newline:
- warn
- consistent
no-shadow:
- error
no-undef-init:
- error
no-unneeded-ternary:
- warn
no-useless-return:
- warn
no-var:
- error
default-case-last:
- warn
no-else-return:
- warn
arrow-spacing:
- warn
block-spacing:
- warn
- always
brace-style:
- warn
- 1tbs
- allowSingleLine: true
comma-spacing:
- warn
comma-style:
- warn
computed-property-spacing:
- warn
dot-location:
- warn
- property
eol-last:
- warn
func-call-spacing:
- warn
function-call-argument-newline:
- warn
- consistent
function-paren-newline:
- warn
- consistent
generator-star-spacing:
- warn
implicit-arrow-linebreak:
- warn
no-lonely-if:
- warn
no-nested-ternary:
- error
no-confusing-arrow:
- warn
default-param-last:
- warn
eqeqeq:
- warn
- smart
no-constructor-return:
- error
no-empty:
- warn
no-unused-vars:
- warn
- args: none
indent:
- warn
- 2
jsx-quotes:
- warn
- prefer-single
key-spacing:
- warn
keyword-spacing:
- warn
linebreak-style:
- warn
- unix
quotes:
- warn
- single
semi:
- error
- never
newline-per-chained-call:
- warn
- ignoreChainWithDepth: 3
no-multiple-empty-lines:
- warn
- max: 2
no-trailing-spaces:
- warn
no-whitespace-before-property:
- warn
nonblock-statement-body-position:
- warn
object-curly-newline:
- warn
object-curly-spacing:
- warn
- always
object-property-newline:
- warn
- allowAllPropertiesOnSameLine: true
operator-linebreak:
- warn
- after
padded-blocks:
- warn
- never
rest-spread-spacing:
- warn
semi-spacing:
- warn
space-before-blocks:
- warn
space-before-function-paren:
- warn
- never
space-in-parens:
- warn
- never
space-infix-ops:
- error
switch-colon-spacing:
- warn
template-curly-spacing:
- warn
wrap-iife:
- error
yield-star-spacing:
- warn