File tree Expand file tree Collapse file tree 3 files changed +272
-0
lines changed Expand file tree Collapse file tree 3 files changed +272
-0
lines changed Original file line number Diff line number Diff line change
1
+ node_modules /
Original file line number Diff line number Diff line change
1
+ {
2
+ "env" : {
3
+ "browser" : true ,
4
+ "es6" : true ,
5
+ "node" : true
6
+ },
7
+ "extends" : " eslint:recommended" ,
8
+ "parserOptions" : {
9
+ "ecmaVersion" : 2018
10
+ },
11
+ "rules" : {
12
+ "indent" : [
13
+ " error" ,
14
+ 2
15
+ ],
16
+ "linebreak-style" : [
17
+ " error" ,
18
+ " unix"
19
+ ],
20
+ "quotes" : [
21
+ " error" ,
22
+ " single"
23
+ ],
24
+ "semi" : [
25
+ " error" ,
26
+ " always"
27
+ ],
28
+ "no-console" : " off" ,
29
+ "no-loop-func" : [
30
+ " error"
31
+ ],
32
+ "block-spacing" : [
33
+ " error" ,
34
+ " always"
35
+ ],
36
+ "camelcase" : [
37
+ " error"
38
+ ],
39
+ "eqeqeq" : [
40
+ " error" ,
41
+ " always"
42
+ ],
43
+ "strict" : [
44
+ " error" ,
45
+ " global"
46
+ ],
47
+ "brace-style" : [
48
+ " error" ,
49
+ " 1tbs" ,
50
+ {
51
+ "allowSingleLine" : true
52
+ }
53
+ ],
54
+ "comma-style" : [
55
+ " error" ,
56
+ " last"
57
+ ],
58
+ "comma-spacing" : [
59
+ " error" ,
60
+ {
61
+ "before" : false ,
62
+ "after" : true
63
+ }
64
+ ],
65
+ "eol-last" : [
66
+ " error"
67
+ ],
68
+ "func-call-spacing" : [
69
+ " error" ,
70
+ " never"
71
+ ],
72
+ "key-spacing" : [
73
+ " error" ,
74
+ {
75
+ "beforeColon" : false ,
76
+ "afterColon" : true ,
77
+ "mode" : " minimum"
78
+ }
79
+ ],
80
+ "keyword-spacing" : [
81
+ " error" ,
82
+ {
83
+ "before" : true ,
84
+ "after" : true ,
85
+ "overrides" : {
86
+ "function" : {
87
+ "after" : false
88
+ }
89
+ }
90
+ }
91
+ ],
92
+ "max-len" : [
93
+ " error" ,
94
+ {
95
+ "code" : 80 ,
96
+ "ignoreUrls" : true
97
+ }
98
+ ],
99
+ "max-nested-callbacks" : [
100
+ " error" ,
101
+ {
102
+ "max" : 7
103
+ }
104
+ ],
105
+ "new-cap" : [
106
+ " error" ,
107
+ {
108
+ "newIsCap" : true ,
109
+ "capIsNew" : false ,
110
+ "properties" : true
111
+ }
112
+ ],
113
+ "new-parens" : [
114
+ " error"
115
+ ],
116
+ "no-lonely-if" : [
117
+ " error"
118
+ ],
119
+ "no-trailing-spaces" : [
120
+ " error"
121
+ ],
122
+ "no-unneeded-ternary" : [
123
+ " error"
124
+ ],
125
+ "no-whitespace-before-property" : [
126
+ " error"
127
+ ],
128
+ "object-curly-spacing" : [
129
+ " error" ,
130
+ " always"
131
+ ],
132
+ "operator-assignment" : [
133
+ " error" ,
134
+ " always"
135
+ ],
136
+ "operator-linebreak" : [
137
+ " error" ,
138
+ " after"
139
+ ],
140
+ "semi-spacing" : [
141
+ " error" ,
142
+ {
143
+ "before" : false ,
144
+ "after" : true
145
+ }
146
+ ],
147
+ "space-before-blocks" : [
148
+ " error" ,
149
+ " always"
150
+ ],
151
+ "space-before-function-paren" : [
152
+ " error" ,
153
+ {
154
+ "anonymous" : " never" ,
155
+ "named" : " never" ,
156
+ "asyncArrow" : " always"
157
+ }
158
+ ],
159
+ "space-in-parens" : [
160
+ " error" ,
161
+ " never"
162
+ ],
163
+ "space-infix-ops" : [
164
+ " error"
165
+ ],
166
+ "space-unary-ops" : [
167
+ " error" ,
168
+ {
169
+ "words" : true ,
170
+ "nonwords" : false ,
171
+ "overrides" : {
172
+ "typeof" : false
173
+ }
174
+ }
175
+ ],
176
+ "no-unreachable" : [
177
+ " error"
178
+ ],
179
+ "no-global-assign" : [
180
+ " error"
181
+ ],
182
+ "no-self-compare" : [
183
+ " error"
184
+ ],
185
+ "no-unmodified-loop-condition" : [
186
+ " error"
187
+ ],
188
+ "no-constant-condition" : [
189
+ " error" ,
190
+ {
191
+ "checkLoops" : false
192
+ }
193
+ ],
194
+ "no-console" : [
195
+ " off"
196
+ ],
197
+ "no-useless-concat" : [
198
+ " error"
199
+ ],
200
+ "no-useless-escape" : [
201
+ " error"
202
+ ],
203
+ "no-shadow-restricted-names" : [
204
+ " error"
205
+ ],
206
+ "no-use-before-define" : [
207
+ " error" ,
208
+ {
209
+ "functions" : false
210
+ }
211
+ ],
212
+ "arrow-parens" : [
213
+ " error" ,
214
+ " as-needed"
215
+ ],
216
+ "arrow-body-style" : [
217
+ " error" ,
218
+ " as-needed"
219
+ ],
220
+ "arrow-spacing" : [
221
+ " error"
222
+ ],
223
+ "no-confusing-arrow" : [
224
+ " error" ,
225
+ {
226
+ "allowParens" : true
227
+ }
228
+ ],
229
+ "no-useless-computed-key" : [
230
+ " error"
231
+ ],
232
+ "no-useless-rename" : [
233
+ " error"
234
+ ],
235
+ "no-var" : [
236
+ " error"
237
+ ],
238
+ "object-shorthand" : [
239
+ " error" ,
240
+ " always"
241
+ ],
242
+ "prefer-arrow-callback" : [
243
+ " error"
244
+ ],
245
+ "prefer-const" : [
246
+ " error"
247
+ ],
248
+ "prefer-numeric-literals" : [
249
+ " error"
250
+ ],
251
+ "prefer-rest-params" : [
252
+ " error"
253
+ ],
254
+ "prefer-spread" : [
255
+ " error"
256
+ ],
257
+ "rest-spread-spacing" : [
258
+ " error" ,
259
+ " never"
260
+ ],
261
+ "template-curly-spacing" : [
262
+ " error" ,
263
+ " never"
264
+ ]
265
+ }
266
+ }
Original file line number Diff line number Diff line change
1
+ language : node_js
2
+ node_js :
3
+ - 12
4
+ script :
5
+ - npm run ci
You can’t perform that action at this time.
0 commit comments