@eslinted/defaults 17.2.6 → 17.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +792 -1139
- package/dist/rules/css/index.d.ts +1 -2
- package/dist/rules/css/index.d.ts.map +1 -1
- package/dist/rules/css/index.js.map +1 -1
- package/dist/rules/disable.d.ts +1 -2
- package/dist/rules/disable.d.ts.map +1 -1
- package/dist/rules/disable.js.map +1 -1
- package/dist/rules/html/index.d.ts +17 -37
- package/dist/rules/html/index.d.ts.map +1 -1
- package/dist/rules/html/index.js.map +1 -1
- package/dist/rules/index.d.ts +792 -1139
- package/dist/rules/js.d.ts +357 -560
- package/dist/rules/js.eslint.d.ts +90 -184
- package/dist/rules/js.eslint.d.ts.map +1 -1
- package/dist/rules/js.eslint.js.map +1 -1
- package/dist/rules/js.stylistic.d.ts +108 -219
- package/dist/rules/js.stylistic.d.ts.map +1 -1
- package/dist/rules/js.stylistic.js.map +1 -1
- package/dist/rules/json/index.d.ts +53 -68
- package/dist/rules/json/json.d.ts +1 -2
- package/dist/rules/json/json.d.ts.map +1 -1
- package/dist/rules/json/json.js.map +1 -1
- package/dist/rules/json/plugin/extend.d.ts +16 -32
- package/dist/rules/json/plugin/extend.d.ts.map +1 -1
- package/dist/rules/json/plugin/extend.js.map +1 -1
- package/dist/rules/json/plugin/index.d.ts +1 -2
- package/dist/rules/json/plugin/index.d.ts.map +1 -1
- package/dist/rules/json/plugin/index.js.map +1 -1
- package/dist/rules/jsonc/index.d.ts +1 -2
- package/dist/rules/jsonc/index.d.ts.map +1 -1
- package/dist/rules/jsonc/index.js.map +1 -1
- package/dist/rules/jsoncc/index.d.ts +2 -6
- package/dist/rules/jsoncc/index.d.ts.map +1 -1
- package/dist/rules/jsoncc/index.js.map +1 -1
- package/dist/rules/mocha/chai/expect.d.ts +1 -2
- package/dist/rules/mocha/chai/expect.d.ts.map +1 -1
- package/dist/rules/mocha/chai/expect.js.map +1 -1
- package/dist/rules/mocha/chai/index.d.ts +5 -9
- package/dist/rules/mocha/chai/index.d.ts.map +1 -1
- package/dist/rules/mocha/chai/index.js.map +1 -1
- package/dist/rules/mocha/index.d.ts +26 -29
- package/dist/rules/mocha/mocha.d.ts +1 -2
- package/dist/rules/mocha/mocha.d.ts.map +1 -1
- package/dist/rules/mocha/mocha.js.map +1 -1
- package/dist/rules/svelte/disable.d.ts +1 -2
- package/dist/rules/svelte/disable.d.ts.map +1 -1
- package/dist/rules/svelte/disable.js.map +1 -1
- package/dist/rules/svelte/extend.d.ts +2 -6
- package/dist/rules/svelte/extend.d.ts.map +1 -1
- package/dist/rules/svelte/extend.js.map +1 -1
- package/dist/rules/svelte/index.d.ts +93 -121
- package/dist/rules/svelte/svelte.d.ts +23 -49
- package/dist/rules/svelte/svelte.d.ts.map +1 -1
- package/dist/rules/svelte/svelte.js.map +1 -1
- package/dist/rules/ts/disable.d.ts +1 -2
- package/dist/rules/ts/disable.d.ts.map +1 -1
- package/dist/rules/ts/disable.js.map +1 -1
- package/dist/rules/ts/extend.d.ts +18 -31
- package/dist/rules/ts/extend.d.ts.map +1 -1
- package/dist/rules/ts/extend.js.map +1 -1
- package/dist/rules/ts/index.d.ts +169 -220
- package/dist/rules/ts/ts.d.ts +53 -93
- package/dist/rules/ts/ts.d.ts.map +1 -1
- package/dist/rules/ts/ts.js.map +1 -1
- package/dist/rules/yml/extend.d.ts +18 -44
- package/dist/rules/yml/extend.d.ts.map +1 -1
- package/dist/rules/yml/extend.js.map +1 -1
- package/dist/rules/yml/index.d.ts +33 -58
- package/dist/rules/yml/yml.d.ts +1 -2
- package/dist/rules/yml/yml.d.ts.map +1 -1
- package/dist/rules/yml/yml.js.map +1 -1
- package/package.json +1 -1
- package/src/_pattern/tsconfig.json +6 -0
- package/src/files/tsconfig.json +11 -0
- package/src/ignores/tsconfig.json +11 -0
- package/src/rules/css/index.ts +0 -2
- package/src/rules/disable.ts +0 -2
- package/src/rules/html/index.ts +0 -2
- package/src/rules/js.eslint.ts +0 -2
- package/src/rules/js.stylistic.ts +0 -2
- package/src/rules/json/json.ts +0 -2
- package/src/rules/json/plugin/extend.ts +0 -2
- package/src/rules/json/plugin/index.ts +0 -2
- package/src/rules/jsonc/index.ts +0 -2
- package/src/rules/jsoncc/index.ts +0 -2
- package/src/rules/mocha/chai/expect.ts +0 -2
- package/src/rules/mocha/chai/index.ts +0 -2
- package/src/rules/mocha/mocha.ts +0 -2
- package/src/rules/svelte/disable.ts +0 -2
- package/src/rules/svelte/extend.ts +0 -2
- package/src/rules/svelte/svelte.ts +0 -2
- package/src/rules/ts/disable.ts +0 -2
- package/src/rules/ts/extend.ts +0 -2
- package/src/rules/ts/ts.ts +0 -2
- package/src/rules/tsconfig.json +7 -0
- package/src/rules/yml/extend.ts +0 -2
- package/src/rules/yml/yml.ts +0 -2
- package/src/tsconfig-src.json +8 -0
- package/src/tsconfig.json +13 -7
- package/tests/tsconfig.json +2 -4
- package/typings/index.d.ts +5 -0
- package/dist/rules/state.d.ts +0 -6
- package/dist/rules/state.d.ts.map +0 -1
- package/dist/rules/state.js +0 -2
- package/dist/rules/state.js.map +0 -1
- package/src/rules/state.ts +0 -5
package/dist/index.d.ts
CHANGED
|
@@ -19,1214 +19,867 @@ declare const _default: {
|
|
|
19
19
|
rules: {
|
|
20
20
|
js: ({
|
|
21
21
|
rules: {
|
|
22
|
-
readonly "array-callback-return": readonly [
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
readonly "
|
|
30
|
-
readonly "
|
|
31
|
-
readonly "
|
|
32
|
-
readonly "no-
|
|
33
|
-
readonly "no-
|
|
34
|
-
readonly "no-
|
|
35
|
-
readonly "no-
|
|
36
|
-
readonly "no-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
readonly "no-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
readonly "no-
|
|
46
|
-
readonly "no-
|
|
47
|
-
readonly "no-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
readonly "no-
|
|
52
|
-
readonly "no-
|
|
53
|
-
readonly "no-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
readonly "no-
|
|
61
|
-
readonly "no-
|
|
62
|
-
readonly "no-
|
|
63
|
-
readonly "no-
|
|
64
|
-
readonly "no-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
readonly "no-
|
|
71
|
-
readonly "no-
|
|
72
|
-
readonly "no-
|
|
73
|
-
readonly "no-
|
|
74
|
-
readonly "no-
|
|
75
|
-
readonly "no-
|
|
76
|
-
readonly "no-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
readonly "no-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
readonly "no-
|
|
88
|
-
readonly "no-
|
|
89
|
-
readonly "no-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
readonly "no-
|
|
93
|
-
readonly "no-
|
|
94
|
-
readonly "
|
|
95
|
-
readonly "
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
readonly
|
|
109
|
-
readonly "
|
|
110
|
-
readonly "
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
readonly "no-
|
|
118
|
-
readonly "
|
|
119
|
-
readonly "
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
readonly "
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
readonly "
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
];
|
|
137
|
-
readonly "
|
|
138
|
-
readonly "
|
|
139
|
-
readonly "
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
readonly "
|
|
147
|
-
readonly "
|
|
148
|
-
readonly
|
|
149
|
-
readonly "
|
|
150
|
-
readonly "
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
readonly "no-
|
|
158
|
-
readonly "no-
|
|
159
|
-
readonly "no-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
readonly "no-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
readonly "no-
|
|
166
|
-
readonly "no-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
readonly "no-
|
|
179
|
-
readonly "no-
|
|
180
|
-
readonly "no-
|
|
181
|
-
readonly "no-
|
|
182
|
-
readonly "no-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
readonly "no-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
readonly "
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
readonly "
|
|
213
|
-
readonly "
|
|
214
|
-
readonly "
|
|
215
|
-
readonly "
|
|
216
|
-
readonly "
|
|
217
|
-
readonly "
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
readonly "
|
|
230
|
-
readonly
|
|
231
|
-
readonly "no-sequences": import("./rules/state.js").State.ON;
|
|
232
|
-
readonly "no-shadow-restricted-names": import("./rules/state.js").State.ON;
|
|
233
|
-
readonly "no-throw-literal": import("./rules/state.js").State.ON;
|
|
234
|
-
readonly "no-undef-init": import("./rules/state.js").State.ON;
|
|
235
|
-
readonly "no-unneeded-ternary": import("./rules/state.js").State.ON;
|
|
236
|
-
readonly "no-unused-expressions": readonly [
|
|
237
|
-
import("./rules/state.js").State.ON,
|
|
238
|
-
{
|
|
239
|
-
readonly allowShortCircuit: true;
|
|
240
|
-
readonly allowTernary: true;
|
|
241
|
-
}
|
|
242
|
-
];
|
|
243
|
-
readonly "no-unused-labels": import("./rules/state.js").State.ON;
|
|
244
|
-
readonly "no-useless-call": import("./rules/state.js").State.ON;
|
|
245
|
-
readonly "no-useless-catch": import("./rules/state.js").State.ON;
|
|
246
|
-
readonly "no-useless-computed-key": import("./rules/state.js").State.ON;
|
|
247
|
-
readonly "no-useless-concat": import("./rules/state.js").State.ON;
|
|
248
|
-
readonly "no-useless-constructor": import("./rules/state.js").State.ON;
|
|
249
|
-
readonly "no-useless-escape": readonly [
|
|
250
|
-
import("./rules/state.js").State.ON,
|
|
251
|
-
{
|
|
252
|
-
readonly allowRegexCharacters: readonly [
|
|
253
|
-
"-"
|
|
254
|
-
];
|
|
255
|
-
}
|
|
256
|
-
];
|
|
257
|
-
readonly "no-useless-rename": import("./rules/state.js").State.ON;
|
|
258
|
-
readonly "no-useless-return": import("./rules/state.js").State.ON;
|
|
259
|
-
readonly "no-var": import("./rules/state.js").State.ON;
|
|
260
|
-
readonly "no-void": readonly [
|
|
261
|
-
import("./rules/state.js").State.ON,
|
|
262
|
-
{
|
|
263
|
-
readonly allowAsStatement: true;
|
|
264
|
-
}
|
|
265
|
-
];
|
|
266
|
-
readonly "no-with": import("./rules/state.js").State.ON;
|
|
267
|
-
readonly "object-shorthand": import("./rules/state.js").State.ON;
|
|
268
|
-
readonly "one-var": readonly [
|
|
269
|
-
import("./rules/state.js").State.ON,
|
|
270
|
-
{
|
|
271
|
-
readonly var: "consecutive";
|
|
272
|
-
readonly let: "consecutive";
|
|
273
|
-
readonly const: "consecutive";
|
|
274
|
-
readonly using: "consecutive";
|
|
275
|
-
readonly awaitUsing: "consecutive";
|
|
276
|
-
readonly separateRequires: true;
|
|
277
|
-
}
|
|
278
|
-
];
|
|
279
|
-
readonly "operator-assignment": import("./rules/state.js").State.ON;
|
|
280
|
-
readonly "prefer-arrow-callback": import("./rules/state.js").State.ON;
|
|
281
|
-
readonly "prefer-const": readonly [
|
|
282
|
-
import("./rules/state.js").State.ON,
|
|
283
|
-
{
|
|
284
|
-
readonly destructuring: "all";
|
|
285
|
-
}
|
|
286
|
-
];
|
|
287
|
-
readonly "prefer-destructuring": readonly [
|
|
288
|
-
import("./rules/state.js").State.ON,
|
|
289
|
-
{
|
|
290
|
-
readonly AssignmentExpression: {
|
|
291
|
-
readonly array: false;
|
|
292
|
-
readonly object: false;
|
|
293
|
-
};
|
|
294
|
-
}
|
|
295
|
-
];
|
|
296
|
-
readonly "prefer-exponentiation-operator": import("./rules/state.js").State.ON;
|
|
297
|
-
readonly "prefer-numeric-literals": import("./rules/state.js").State.ON;
|
|
298
|
-
readonly "prefer-object-has-own": import("./rules/state.js").State.ON;
|
|
299
|
-
readonly "prefer-object-spread": import("./rules/state.js").State.ON;
|
|
300
|
-
readonly "prefer-promise-reject-errors": import("./rules/state.js").State.ON;
|
|
301
|
-
readonly "prefer-regex-literals": readonly [
|
|
302
|
-
import("./rules/state.js").State.ON,
|
|
303
|
-
{
|
|
304
|
-
readonly disallowRedundantWrapping: true;
|
|
305
|
-
}
|
|
306
|
-
];
|
|
307
|
-
readonly "prefer-rest-params": import("./rules/state.js").State.ON;
|
|
308
|
-
readonly "prefer-spread": import("./rules/state.js").State.ON;
|
|
309
|
-
readonly "preserve-caught-error": readonly [
|
|
310
|
-
import("./rules/state.js").State.ON,
|
|
311
|
-
{
|
|
312
|
-
readonly requireCatchParameter: true;
|
|
313
|
-
}
|
|
314
|
-
];
|
|
315
|
-
readonly radix: readonly [
|
|
316
|
-
import("./rules/state.js").State.ON,
|
|
317
|
-
"as-needed"
|
|
318
|
-
];
|
|
319
|
-
readonly "require-await": import("./rules/state.js").State.ON;
|
|
320
|
-
readonly "require-unicode-regexp": import("./rules/state.js").State.ON;
|
|
321
|
-
readonly "require-yield": import("./rules/state.js").State.ON;
|
|
322
|
-
readonly "vars-on-top": import("./rules/state.js").State.ON;
|
|
323
|
-
readonly yoda: import("./rules/state.js").State.ON;
|
|
22
|
+
readonly "array-callback-return": readonly [State.ON, {
|
|
23
|
+
readonly checkForEach: true;
|
|
24
|
+
readonly allowVoid: true;
|
|
25
|
+
}];
|
|
26
|
+
readonly "constructor-super": State.ON;
|
|
27
|
+
readonly "for-direction": State.ON;
|
|
28
|
+
readonly "getter-return": State.ON;
|
|
29
|
+
readonly "no-async-promise-executor": State.ON;
|
|
30
|
+
readonly "no-await-in-loop": State.ON;
|
|
31
|
+
readonly "no-class-assign": State.ON;
|
|
32
|
+
readonly "no-compare-neg-zero": State.ON;
|
|
33
|
+
readonly "no-cond-assign": State.ON;
|
|
34
|
+
readonly "no-const-assign": State.ON;
|
|
35
|
+
readonly "no-constant-binary-expression": State.ON;
|
|
36
|
+
readonly "no-constant-condition": readonly [State.ON, {
|
|
37
|
+
readonly checkLoops: "all";
|
|
38
|
+
}];
|
|
39
|
+
readonly "no-constructor-return": State.ON;
|
|
40
|
+
readonly "no-control-regex": State.ON;
|
|
41
|
+
readonly "no-debugger": State.ON;
|
|
42
|
+
readonly "no-dupe-args": State.ON;
|
|
43
|
+
readonly "no-dupe-class-members": State.ON;
|
|
44
|
+
readonly "no-dupe-else-if": State.ON;
|
|
45
|
+
readonly "no-dupe-keys": State.ON;
|
|
46
|
+
readonly "no-duplicate-case": State.ON;
|
|
47
|
+
readonly "no-duplicate-imports": readonly [State.ON, {
|
|
48
|
+
readonly includeExports: true;
|
|
49
|
+
readonly allowSeparateTypeImports: true;
|
|
50
|
+
}];
|
|
51
|
+
readonly "no-empty-character-class": State.ON;
|
|
52
|
+
readonly "no-empty-pattern": State.ON;
|
|
53
|
+
readonly "no-ex-assign": State.ON;
|
|
54
|
+
readonly "no-fallthrough": State.ON;
|
|
55
|
+
readonly "no-func-assign": State.ON;
|
|
56
|
+
readonly "no-import-assign": State.ON;
|
|
57
|
+
readonly "no-inner-declarations": readonly [State.ON, "both"];
|
|
58
|
+
readonly "no-invalid-regexp": State.ON;
|
|
59
|
+
readonly "no-irregular-whitespace": State.ON;
|
|
60
|
+
readonly "no-loss-of-precision": State.ON;
|
|
61
|
+
readonly "no-misleading-character-class": State.ON;
|
|
62
|
+
readonly "no-new-native-nonconstructor": State.ON;
|
|
63
|
+
readonly "no-obj-calls": State.ON;
|
|
64
|
+
readonly "no-promise-executor-return": readonly [State.ON, {
|
|
65
|
+
readonly allowVoid: true;
|
|
66
|
+
}];
|
|
67
|
+
readonly "no-prototype-builtins": State.ON;
|
|
68
|
+
readonly "no-self-assign": State.ON;
|
|
69
|
+
readonly "no-self-compare": State.ON;
|
|
70
|
+
readonly "no-setter-return": State.ON;
|
|
71
|
+
readonly "no-sparse-arrays": State.ON;
|
|
72
|
+
readonly "no-template-curly-in-string": State.ON;
|
|
73
|
+
readonly "no-this-before-super": State.ON;
|
|
74
|
+
readonly "no-unassigned-vars": State.ON;
|
|
75
|
+
readonly "no-undef": State.ON;
|
|
76
|
+
readonly "no-unexpected-multiline": State.ON;
|
|
77
|
+
readonly "no-unmodified-loop-condition": State.ON;
|
|
78
|
+
readonly "no-unreachable": State.ON;
|
|
79
|
+
readonly "no-unreachable-loop": State.ON;
|
|
80
|
+
readonly "no-unsafe-finally": State.ON;
|
|
81
|
+
readonly "no-unsafe-negation": readonly [State.ON, {
|
|
82
|
+
readonly enforceForOrderingRelations: true;
|
|
83
|
+
}];
|
|
84
|
+
readonly "no-unsafe-optional-chaining": readonly [State.ON, {
|
|
85
|
+
readonly disallowArithmeticOperators: true;
|
|
86
|
+
}];
|
|
87
|
+
readonly "no-unused-private-class-members": State.ON;
|
|
88
|
+
readonly "no-unused-vars": State.ON;
|
|
89
|
+
readonly "no-use-before-define": readonly [State.ON, {
|
|
90
|
+
readonly typedefs: false;
|
|
91
|
+
}];
|
|
92
|
+
readonly "no-useless-assignment": State.ON;
|
|
93
|
+
readonly "no-useless-backreference": State.ON;
|
|
94
|
+
readonly "require-atomic-updates": State.ON;
|
|
95
|
+
readonly "use-isnan": readonly [State.ON, {
|
|
96
|
+
readonly enforceForIndexOf: true;
|
|
97
|
+
}];
|
|
98
|
+
readonly "valid-typeof": readonly [State.ON, {
|
|
99
|
+
readonly requireStringLiterals: true;
|
|
100
|
+
}];
|
|
101
|
+
readonly "accessor-pairs": readonly [State.ON, {
|
|
102
|
+
readonly enforceForTSTypes: true;
|
|
103
|
+
}];
|
|
104
|
+
readonly "arrow-body-style": State.ON;
|
|
105
|
+
readonly "block-scoped-var": State.ON;
|
|
106
|
+
readonly "consistent-return": State.ON;
|
|
107
|
+
readonly "consistent-this": State.ON;
|
|
108
|
+
readonly curly: readonly [State.ON, "multi"];
|
|
109
|
+
readonly "default-case-last": State.ON;
|
|
110
|
+
readonly "default-param-last": State.ON;
|
|
111
|
+
readonly "dot-notation": State.ON;
|
|
112
|
+
readonly eqeqeq: State.ON;
|
|
113
|
+
readonly "init-declarations": State.ON;
|
|
114
|
+
readonly "logical-assignment-operators": readonly [State.ON, "always", {
|
|
115
|
+
readonly enforceForIfStatements: true;
|
|
116
|
+
}];
|
|
117
|
+
readonly "no-alert": State.ON;
|
|
118
|
+
readonly "no-array-constructor": State.ON;
|
|
119
|
+
readonly "no-bitwise": State.ON;
|
|
120
|
+
readonly "no-caller": State.ON;
|
|
121
|
+
readonly "no-case-declarations": State.ON;
|
|
122
|
+
readonly "no-continue": State.ON;
|
|
123
|
+
readonly "no-delete-var": State.ON;
|
|
124
|
+
readonly "no-div-regex": State.ON;
|
|
125
|
+
readonly "no-empty": State.ON;
|
|
126
|
+
readonly "no-empty-function": readonly [State.ON, {
|
|
127
|
+
readonly allow: readonly ["constructors", "privateConstructors", "protectedConstructors", "decoratedFunctions", "overrideMethods"];
|
|
128
|
+
}];
|
|
129
|
+
readonly "no-empty-static-block": State.ON;
|
|
130
|
+
readonly "no-eq-null": State.ON;
|
|
131
|
+
readonly "no-eval": State.ON;
|
|
132
|
+
readonly "no-extend-native": State.ON;
|
|
133
|
+
readonly "no-extra-bind": State.ON;
|
|
134
|
+
readonly "no-extra-boolean-cast": readonly [State.ON, {
|
|
135
|
+
readonly enforceForLogicalOperands: true;
|
|
136
|
+
}];
|
|
137
|
+
readonly "no-extra-label": State.ON;
|
|
138
|
+
readonly "no-global-assign": State.ON;
|
|
139
|
+
readonly "no-implicit-coercion": readonly [State.ON, {
|
|
140
|
+
readonly disallowTemplateShorthand: true;
|
|
141
|
+
}];
|
|
142
|
+
readonly "no-implied-eval": State.ON;
|
|
143
|
+
readonly "no-invalid-this": readonly [State.ON, {
|
|
144
|
+
readonly capIsConstructor: false;
|
|
145
|
+
}];
|
|
146
|
+
readonly "no-iterator": State.ON;
|
|
147
|
+
readonly "no-label-var": State.ON;
|
|
148
|
+
readonly "no-lone-blocks": State.ON;
|
|
149
|
+
readonly "no-loop-func": State.ON;
|
|
150
|
+
readonly "no-multi-assign": State.ON;
|
|
151
|
+
readonly "no-multi-str": State.ON;
|
|
152
|
+
readonly "no-new": State.ON;
|
|
153
|
+
readonly "no-new-func": State.ON;
|
|
154
|
+
readonly "no-new-wrappers": State.ON;
|
|
155
|
+
readonly "no-nonoctal-decimal-escape": State.ON;
|
|
156
|
+
readonly "no-object-constructor": State.ON;
|
|
157
|
+
readonly "no-octal": State.ON;
|
|
158
|
+
readonly "no-octal-escape": State.ON;
|
|
159
|
+
readonly "no-param-reassign": readonly [State.ON, {
|
|
160
|
+
readonly props: true;
|
|
161
|
+
}];
|
|
162
|
+
readonly "no-plusplus": readonly [State.ON, {
|
|
163
|
+
readonly allowForLoopAfterthoughts: true;
|
|
164
|
+
}];
|
|
165
|
+
readonly "no-proto": State.ON;
|
|
166
|
+
readonly "no-script-url": State.ON;
|
|
167
|
+
readonly "no-sequences": State.ON;
|
|
168
|
+
readonly "no-shadow-restricted-names": State.ON;
|
|
169
|
+
readonly "no-throw-literal": State.ON;
|
|
170
|
+
readonly "no-undef-init": State.ON;
|
|
171
|
+
readonly "no-unneeded-ternary": State.ON;
|
|
172
|
+
readonly "no-unused-expressions": readonly [State.ON, {
|
|
173
|
+
readonly allowShortCircuit: true;
|
|
174
|
+
readonly allowTernary: true;
|
|
175
|
+
}];
|
|
176
|
+
readonly "no-unused-labels": State.ON;
|
|
177
|
+
readonly "no-useless-call": State.ON;
|
|
178
|
+
readonly "no-useless-catch": State.ON;
|
|
179
|
+
readonly "no-useless-computed-key": State.ON;
|
|
180
|
+
readonly "no-useless-concat": State.ON;
|
|
181
|
+
readonly "no-useless-constructor": State.ON;
|
|
182
|
+
readonly "no-useless-escape": readonly [State.ON, {
|
|
183
|
+
readonly allowRegexCharacters: readonly ["-"];
|
|
184
|
+
}];
|
|
185
|
+
readonly "no-useless-rename": State.ON;
|
|
186
|
+
readonly "no-useless-return": State.ON;
|
|
187
|
+
readonly "no-var": State.ON;
|
|
188
|
+
readonly "no-void": readonly [State.ON, {
|
|
189
|
+
readonly allowAsStatement: true;
|
|
190
|
+
}];
|
|
191
|
+
readonly "no-with": State.ON;
|
|
192
|
+
readonly "object-shorthand": State.ON;
|
|
193
|
+
readonly "one-var": readonly [State.ON, {
|
|
194
|
+
readonly var: "consecutive";
|
|
195
|
+
readonly let: "consecutive";
|
|
196
|
+
readonly const: "consecutive";
|
|
197
|
+
readonly using: "consecutive";
|
|
198
|
+
readonly awaitUsing: "consecutive";
|
|
199
|
+
readonly separateRequires: true;
|
|
200
|
+
}];
|
|
201
|
+
readonly "operator-assignment": State.ON;
|
|
202
|
+
readonly "prefer-arrow-callback": State.ON;
|
|
203
|
+
readonly "prefer-const": readonly [State.ON, {
|
|
204
|
+
readonly destructuring: "all";
|
|
205
|
+
}];
|
|
206
|
+
readonly "prefer-destructuring": readonly [State.ON, {
|
|
207
|
+
readonly AssignmentExpression: {
|
|
208
|
+
readonly array: false;
|
|
209
|
+
readonly object: false;
|
|
210
|
+
};
|
|
211
|
+
}];
|
|
212
|
+
readonly "prefer-exponentiation-operator": State.ON;
|
|
213
|
+
readonly "prefer-numeric-literals": State.ON;
|
|
214
|
+
readonly "prefer-object-has-own": State.ON;
|
|
215
|
+
readonly "prefer-object-spread": State.ON;
|
|
216
|
+
readonly "prefer-promise-reject-errors": State.ON;
|
|
217
|
+
readonly "prefer-regex-literals": readonly [State.ON, {
|
|
218
|
+
readonly disallowRedundantWrapping: true;
|
|
219
|
+
}];
|
|
220
|
+
readonly "prefer-rest-params": State.ON;
|
|
221
|
+
readonly "prefer-spread": State.ON;
|
|
222
|
+
readonly "preserve-caught-error": readonly [State.ON, {
|
|
223
|
+
readonly requireCatchParameter: true;
|
|
224
|
+
}];
|
|
225
|
+
readonly radix: readonly [State.ON, "as-needed"];
|
|
226
|
+
readonly "require-await": State.ON;
|
|
227
|
+
readonly "require-unicode-regexp": State.ON;
|
|
228
|
+
readonly "require-yield": State.ON;
|
|
229
|
+
readonly "vars-on-top": State.ON;
|
|
230
|
+
readonly yoda: State.ON;
|
|
324
231
|
};
|
|
325
232
|
} | {
|
|
326
233
|
rules: {
|
|
327
|
-
readonly "stylistic/array-bracket-newline":
|
|
328
|
-
readonly "stylistic/array-bracket-spacing":
|
|
329
|
-
readonly "stylistic/array-element-newline": readonly [
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
readonly "stylistic/
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
];
|
|
341
|
-
readonly "stylistic/
|
|
342
|
-
readonly "stylistic/
|
|
343
|
-
readonly "stylistic/
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
];
|
|
350
|
-
readonly "stylistic/
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
];
|
|
362
|
-
readonly "stylistic/
|
|
363
|
-
readonly "stylistic/
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
];
|
|
392
|
-
readonly "stylistic/
|
|
393
|
-
readonly "stylistic/
|
|
394
|
-
readonly "stylistic/
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
readonly "stylistic/
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
readonly "stylistic/
|
|
435
|
-
readonly "stylistic/
|
|
436
|
-
readonly "stylistic/
|
|
437
|
-
readonly "stylistic/
|
|
438
|
-
readonly "stylistic/
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
readonly
|
|
452
|
-
readonly
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
readonly "stylistic/
|
|
457
|
-
readonly "stylistic/
|
|
458
|
-
readonly "stylistic/
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
{
|
|
466
|
-
readonly consistent: true;
|
|
467
|
-
readonly multiline: true;
|
|
468
|
-
readonly minProperties: 3;
|
|
469
|
-
}
|
|
470
|
-
];
|
|
471
|
-
readonly "stylistic/object-curly-spacing": readonly [
|
|
472
|
-
import("./rules/state.js").State.ON,
|
|
473
|
-
"always",
|
|
474
|
-
{
|
|
475
|
-
readonly emptyObjects: "never";
|
|
476
|
-
}
|
|
477
|
-
];
|
|
478
|
-
readonly "stylistic/object-property-newline": import("./rules/state.js").State.ON;
|
|
479
|
-
readonly "stylistic/one-var-declaration-per-line": readonly [
|
|
480
|
-
import("./rules/state.js").State.ON,
|
|
481
|
-
"always"
|
|
482
|
-
];
|
|
483
|
-
readonly "stylistic/operator-linebreak": readonly [
|
|
484
|
-
import("./rules/state.js").State.ON,
|
|
485
|
-
"before"
|
|
486
|
-
];
|
|
487
|
-
readonly "stylistic/padded-blocks": readonly [
|
|
488
|
-
import("./rules/state.js").State.ON,
|
|
489
|
-
"never",
|
|
490
|
-
{
|
|
491
|
-
readonly allowSingleLineBlocks: true;
|
|
492
|
-
}
|
|
493
|
-
];
|
|
494
|
-
readonly "stylistic/quote-props": readonly [
|
|
495
|
-
import("./rules/state.js").State.ON,
|
|
496
|
-
"as-needed",
|
|
497
|
-
{
|
|
498
|
-
readonly keywords: true;
|
|
499
|
-
}
|
|
500
|
-
];
|
|
501
|
-
readonly "stylistic/quotes": readonly [
|
|
502
|
-
import("./rules/state.js").State.ON,
|
|
503
|
-
"double",
|
|
504
|
-
{
|
|
505
|
-
readonly avoidEscape: true;
|
|
506
|
-
readonly allowTemplateLiterals: "always";
|
|
507
|
-
}
|
|
508
|
-
];
|
|
509
|
-
readonly "stylistic/rest-spread-spacing": import("./rules/state.js").State.ON;
|
|
510
|
-
readonly "stylistic/semi": import("./rules/state.js").State.ON;
|
|
511
|
-
readonly "stylistic/semi-spacing": import("./rules/state.js").State.ON;
|
|
512
|
-
readonly "stylistic/semi-style": import("./rules/state.js").State.ON;
|
|
513
|
-
readonly "stylistic/space-before-blocks": import("./rules/state.js").State.ON;
|
|
514
|
-
readonly "stylistic/space-before-function-paren": readonly [
|
|
515
|
-
import("./rules/state.js").State.ON,
|
|
516
|
-
{
|
|
517
|
-
readonly named: "never";
|
|
518
|
-
}
|
|
519
|
-
];
|
|
520
|
-
readonly "stylistic/space-in-parens": import("./rules/state.js").State.ON;
|
|
521
|
-
readonly "stylistic/space-infix-ops": import("./rules/state.js").State.ON;
|
|
522
|
-
readonly "stylistic/space-unary-ops": import("./rules/state.js").State.ON;
|
|
523
|
-
readonly "stylistic/spaced-comment": readonly [
|
|
524
|
-
import("./rules/state.js").State.ON,
|
|
525
|
-
"always",
|
|
526
|
-
{
|
|
527
|
-
readonly line: {
|
|
528
|
-
readonly exceptions: readonly [
|
|
529
|
-
"/",
|
|
530
|
-
"-",
|
|
531
|
-
"+",
|
|
532
|
-
"="
|
|
533
|
-
];
|
|
534
|
-
readonly markers: readonly [
|
|
535
|
-
"!",
|
|
536
|
-
"@",
|
|
537
|
-
"#",
|
|
538
|
-
"/",
|
|
539
|
-
"#region",
|
|
540
|
-
"#endregion",
|
|
541
|
-
"#part",
|
|
542
|
-
"/#region",
|
|
543
|
-
"/#endregion",
|
|
544
|
-
"/#part"
|
|
545
|
-
];
|
|
546
|
-
};
|
|
547
|
-
readonly block: {
|
|
548
|
-
readonly exceptions: readonly [
|
|
549
|
-
"*"
|
|
550
|
-
];
|
|
551
|
-
readonly markers: readonly [
|
|
552
|
-
"*"
|
|
553
|
-
];
|
|
554
|
-
readonly balanced: true;
|
|
234
|
+
readonly "stylistic/array-bracket-newline": State.ON;
|
|
235
|
+
readonly "stylistic/array-bracket-spacing": State.ON;
|
|
236
|
+
readonly "stylistic/array-element-newline": readonly [State.ON, {
|
|
237
|
+
readonly consistent: true;
|
|
238
|
+
readonly multiline: true;
|
|
239
|
+
readonly minItems: 3;
|
|
240
|
+
}];
|
|
241
|
+
readonly "stylistic/arrow-parens": readonly [State.ON, "as-needed"];
|
|
242
|
+
readonly "stylistic/arrow-spacing": State.ON;
|
|
243
|
+
readonly "stylistic/block-spacing": State.ON;
|
|
244
|
+
readonly "stylistic/brace-style": readonly [State.ON, "stroustrup", {
|
|
245
|
+
readonly allowSingleLine: true;
|
|
246
|
+
}];
|
|
247
|
+
readonly "stylistic/comma-dangle": readonly [State.ON, "always-multiline"];
|
|
248
|
+
readonly "stylistic/comma-spacing": State.ON;
|
|
249
|
+
readonly "stylistic/comma-style": State.ON;
|
|
250
|
+
readonly "stylistic/computed-property-spacing": State.ON;
|
|
251
|
+
readonly "stylistic/curly-newline": State.ON;
|
|
252
|
+
readonly "stylistic/dot-location": readonly [State.ON, "property"];
|
|
253
|
+
readonly "stylistic/eol-last": State.ON;
|
|
254
|
+
readonly "stylistic/function-call-argument-newline": readonly [State.ON, "consistent"];
|
|
255
|
+
readonly "stylistic/function-call-spacing": State.ON;
|
|
256
|
+
readonly "stylistic/function-paren-newline": readonly [State.ON, "multiline-arguments"];
|
|
257
|
+
readonly "stylistic/generator-star-spacing": State.ON;
|
|
258
|
+
readonly "stylistic/implicit-arrow-linebreak": State.ON;
|
|
259
|
+
readonly "stylistic/indent": readonly [State.ON, 2, {
|
|
260
|
+
readonly assignmentOperator: 0;
|
|
261
|
+
readonly VariableDeclarator: {
|
|
262
|
+
readonly var: 0;
|
|
263
|
+
readonly let: 0;
|
|
264
|
+
readonly const: 0;
|
|
265
|
+
};
|
|
266
|
+
readonly outerIIFEBody: 0;
|
|
267
|
+
readonly offsetTernaryExpressions: true;
|
|
268
|
+
}];
|
|
269
|
+
readonly "stylistic/indent-binary-ops": readonly [State.ON, 2];
|
|
270
|
+
readonly "stylistic/key-spacing": State.ON;
|
|
271
|
+
readonly "stylistic/keyword-spacing": State.ON;
|
|
272
|
+
readonly "stylistic/lines-between-class-members": readonly [State.ON, {
|
|
273
|
+
readonly enforce: readonly [{
|
|
274
|
+
readonly prev: "field";
|
|
275
|
+
readonly next: "field";
|
|
276
|
+
readonly blankLine: "never";
|
|
277
|
+
}, {
|
|
278
|
+
readonly prev: "field";
|
|
279
|
+
readonly next: "method";
|
|
280
|
+
readonly blankLine: "always";
|
|
281
|
+
}, {
|
|
282
|
+
readonly prev: "method";
|
|
283
|
+
readonly next: "*";
|
|
284
|
+
readonly blankLine: "always";
|
|
285
|
+
}];
|
|
286
|
+
}];
|
|
287
|
+
readonly "stylistic/max-len": readonly [State.ON, {
|
|
288
|
+
readonly code: 300;
|
|
289
|
+
readonly ignoreComments: true;
|
|
290
|
+
readonly ignoreTrailingComments: true;
|
|
291
|
+
readonly ignoreUrls: true;
|
|
292
|
+
readonly ignoreStrings: true;
|
|
293
|
+
readonly ignoreTemplateLiterals: true;
|
|
294
|
+
readonly ignoreRegExpLiterals: true;
|
|
295
|
+
}];
|
|
296
|
+
readonly "stylistic/max-statements-per-line": State.ON;
|
|
297
|
+
readonly "stylistic/member-delimiter-style": State.ON;
|
|
298
|
+
readonly "stylistic/multiline-ternary": readonly [State.ON, "always-multiline"];
|
|
299
|
+
readonly "stylistic/newline-per-chained-call": State.ON;
|
|
300
|
+
readonly "stylistic/no-extra-parens": State.ON;
|
|
301
|
+
readonly "stylistic/no-extra-semi": State.ON;
|
|
302
|
+
readonly "stylistic/no-floating-decimal": State.ON;
|
|
303
|
+
readonly "stylistic/no-mixed-spaces-and-tabs": State.ON;
|
|
304
|
+
readonly "stylistic/no-multi-spaces": readonly [State.ON, {
|
|
305
|
+
readonly exceptions: {
|
|
306
|
+
readonly Property: false;
|
|
307
|
+
readonly ImportAttributes: false;
|
|
308
|
+
};
|
|
309
|
+
}];
|
|
310
|
+
readonly "stylistic/no-multiple-empty-lines": readonly [State.ON, {
|
|
311
|
+
readonly max: 1;
|
|
312
|
+
readonly maxBOF: 0;
|
|
313
|
+
readonly maxEOF: 0;
|
|
314
|
+
}];
|
|
315
|
+
readonly "stylistic/no-tabs": State.ON;
|
|
316
|
+
readonly "stylistic/no-trailing-spaces": State.ON;
|
|
317
|
+
readonly "stylistic/no-whitespace-before-property": State.ON;
|
|
318
|
+
readonly "stylistic/nonblock-statement-body-position": readonly [State.ON, "below"];
|
|
319
|
+
readonly "stylistic/object-curly-newline": readonly [State.ON, {
|
|
320
|
+
readonly consistent: true;
|
|
321
|
+
readonly multiline: true;
|
|
322
|
+
readonly minProperties: 3;
|
|
323
|
+
}];
|
|
324
|
+
readonly "stylistic/object-curly-spacing": readonly [State.ON, "always", {
|
|
325
|
+
readonly emptyObjects: "never";
|
|
326
|
+
}];
|
|
327
|
+
readonly "stylistic/object-property-newline": State.ON;
|
|
328
|
+
readonly "stylistic/one-var-declaration-per-line": readonly [State.ON, "always"];
|
|
329
|
+
readonly "stylistic/operator-linebreak": readonly [State.ON, "before"];
|
|
330
|
+
readonly "stylistic/padded-blocks": readonly [State.ON, "never", {
|
|
331
|
+
readonly allowSingleLineBlocks: true;
|
|
332
|
+
}];
|
|
333
|
+
readonly "stylistic/quote-props": readonly [State.ON, "as-needed", {
|
|
334
|
+
readonly keywords: true;
|
|
335
|
+
}];
|
|
336
|
+
readonly "stylistic/quotes": readonly [State.ON, "double", {
|
|
337
|
+
readonly avoidEscape: true;
|
|
338
|
+
readonly allowTemplateLiterals: "always";
|
|
339
|
+
}];
|
|
340
|
+
readonly "stylistic/rest-spread-spacing": State.ON;
|
|
341
|
+
readonly "stylistic/semi": State.ON;
|
|
342
|
+
readonly "stylistic/semi-spacing": State.ON;
|
|
343
|
+
readonly "stylistic/semi-style": State.ON;
|
|
344
|
+
readonly "stylistic/space-before-blocks": State.ON;
|
|
345
|
+
readonly "stylistic/space-before-function-paren": readonly [State.ON, {
|
|
346
|
+
readonly named: "never";
|
|
347
|
+
}];
|
|
348
|
+
readonly "stylistic/space-in-parens": State.ON;
|
|
349
|
+
readonly "stylistic/space-infix-ops": State.ON;
|
|
350
|
+
readonly "stylistic/space-unary-ops": State.ON;
|
|
351
|
+
readonly "stylistic/spaced-comment": readonly [State.ON, "always", {
|
|
352
|
+
readonly line: {
|
|
353
|
+
readonly exceptions: readonly ["/", "-", "+", "="];
|
|
354
|
+
readonly markers: readonly ["!", "@", "#", "/", "#region", "#endregion", "#part", "/#region", "/#endregion", "/#part"];
|
|
355
|
+
};
|
|
356
|
+
readonly block: {
|
|
357
|
+
readonly exceptions: readonly ["*"];
|
|
358
|
+
readonly markers: readonly ["*"];
|
|
359
|
+
readonly balanced: true;
|
|
360
|
+
};
|
|
361
|
+
}];
|
|
362
|
+
readonly "stylistic/switch-colon-spacing": State.ON;
|
|
363
|
+
readonly "stylistic/template-curly-spacing": State.ON;
|
|
364
|
+
readonly "stylistic/template-tag-spacing": State.ON;
|
|
365
|
+
readonly "stylistic/type-annotation-spacing": readonly [State.ON, {
|
|
366
|
+
readonly before: true;
|
|
367
|
+
readonly after: true;
|
|
368
|
+
readonly overrides: {
|
|
369
|
+
readonly colon: {
|
|
370
|
+
readonly before: false;
|
|
371
|
+
readonly after: true;
|
|
555
372
|
};
|
|
556
|
-
}
|
|
557
|
-
];
|
|
558
|
-
readonly "stylistic/
|
|
559
|
-
readonly "stylistic/
|
|
560
|
-
readonly "stylistic/
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
readonly after: true;
|
|
566
|
-
readonly overrides: {
|
|
567
|
-
readonly colon: {
|
|
568
|
-
readonly before: false;
|
|
569
|
-
readonly after: true;
|
|
570
|
-
};
|
|
571
|
-
};
|
|
572
|
-
}
|
|
573
|
-
];
|
|
574
|
-
readonly "stylistic/type-generic-spacing": import("./rules/state.js").State.ON;
|
|
575
|
-
readonly "stylistic/type-named-tuple-spacing": import("./rules/state.js").State.ON;
|
|
576
|
-
readonly "stylistic/wrap-iife": readonly [
|
|
577
|
-
import("./rules/state.js").State.ON,
|
|
578
|
-
"inside",
|
|
579
|
-
{
|
|
580
|
-
readonly functionPrototypeMethods: true;
|
|
581
|
-
}
|
|
582
|
-
];
|
|
583
|
-
readonly "stylistic/wrap-regex": import("./rules/state.js").State.ON;
|
|
584
|
-
readonly "stylistic/yield-star-spacing": import("./rules/state.js").State.ON;
|
|
373
|
+
};
|
|
374
|
+
}];
|
|
375
|
+
readonly "stylistic/type-generic-spacing": State.ON;
|
|
376
|
+
readonly "stylistic/type-named-tuple-spacing": State.ON;
|
|
377
|
+
readonly "stylistic/wrap-iife": readonly [State.ON, "inside", {
|
|
378
|
+
readonly functionPrototypeMethods: true;
|
|
379
|
+
}];
|
|
380
|
+
readonly "stylistic/wrap-regex": State.ON;
|
|
381
|
+
readonly "stylistic/yield-star-spacing": State.ON;
|
|
585
382
|
};
|
|
586
383
|
})[];
|
|
587
384
|
ts: ({
|
|
588
385
|
rules: {
|
|
589
|
-
readonly "consistent-return":
|
|
590
|
-
readonly "constructor-super":
|
|
591
|
-
readonly "getter-return":
|
|
592
|
-
readonly "no-class-assign":
|
|
593
|
-
readonly "no-const-assign":
|
|
594
|
-
readonly "no-dupe-args":
|
|
595
|
-
readonly "no-dupe-class-members":
|
|
596
|
-
readonly "no-dupe-keys":
|
|
597
|
-
readonly "no-func-assign":
|
|
598
|
-
readonly "no-import-assign":
|
|
599
|
-
readonly "no-invalid-this":
|
|
600
|
-
readonly "no-new-native-nonconstructor":
|
|
601
|
-
readonly "no-obj-calls":
|
|
602
|
-
readonly "no-redeclare":
|
|
603
|
-
readonly "no-setter-return":
|
|
604
|
-
readonly "no-this-before-super":
|
|
605
|
-
readonly "no-undef":
|
|
606
|
-
readonly "no-unreachable":
|
|
607
|
-
readonly "no-unsafe-negation":
|
|
386
|
+
readonly "consistent-return": State.OFF;
|
|
387
|
+
readonly "constructor-super": State.OFF;
|
|
388
|
+
readonly "getter-return": State.OFF;
|
|
389
|
+
readonly "no-class-assign": State.OFF;
|
|
390
|
+
readonly "no-const-assign": State.OFF;
|
|
391
|
+
readonly "no-dupe-args": State.OFF;
|
|
392
|
+
readonly "no-dupe-class-members": State.OFF;
|
|
393
|
+
readonly "no-dupe-keys": State.OFF;
|
|
394
|
+
readonly "no-func-assign": State.OFF;
|
|
395
|
+
readonly "no-import-assign": State.OFF;
|
|
396
|
+
readonly "no-invalid-this": State.OFF;
|
|
397
|
+
readonly "no-new-native-nonconstructor": State.OFF;
|
|
398
|
+
readonly "no-obj-calls": State.OFF;
|
|
399
|
+
readonly "no-redeclare": State.OFF;
|
|
400
|
+
readonly "no-setter-return": State.OFF;
|
|
401
|
+
readonly "no-this-before-super": State.OFF;
|
|
402
|
+
readonly "no-undef": State.OFF;
|
|
403
|
+
readonly "no-unreachable": State.OFF;
|
|
404
|
+
readonly "no-unsafe-negation": State.OFF;
|
|
608
405
|
};
|
|
609
406
|
} | {
|
|
610
407
|
rules: {
|
|
611
|
-
readonly "ts/await-thenable":
|
|
612
|
-
readonly "ts/ban-ts-comment":
|
|
613
|
-
readonly "ts/ban-tslint-comment":
|
|
614
|
-
readonly "ts/class-literal-property-style":
|
|
615
|
-
readonly "ts/consistent-generic-constructors":
|
|
616
|
-
readonly "ts/consistent-type-assertions": readonly [
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
readonly "ts/
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
readonly "ts/
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
readonly "ts/no-
|
|
645
|
-
readonly "ts/no-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
readonly "ts/no-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
readonly "ts/no-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
readonly "ts/no-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
readonly "ts/no-
|
|
670
|
-
readonly "ts/no-
|
|
671
|
-
readonly "ts/no-
|
|
672
|
-
readonly "ts/no-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
readonly "ts/no-
|
|
679
|
-
readonly "ts/no-
|
|
680
|
-
readonly "ts/no-
|
|
681
|
-
readonly "ts/no-
|
|
682
|
-
readonly "ts/no-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
readonly "ts/no-
|
|
686
|
-
readonly "ts/no-
|
|
687
|
-
readonly "ts/no-
|
|
688
|
-
readonly "ts/no-
|
|
689
|
-
readonly "ts/
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
readonly "ts/
|
|
693
|
-
readonly "ts/
|
|
694
|
-
readonly "ts/
|
|
695
|
-
readonly "ts/
|
|
696
|
-
readonly "ts/
|
|
697
|
-
readonly "ts/
|
|
698
|
-
readonly "ts/
|
|
699
|
-
readonly "ts/
|
|
700
|
-
readonly "ts/
|
|
701
|
-
readonly "ts/
|
|
702
|
-
readonly "ts/
|
|
703
|
-
readonly "ts/
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
readonly "ts/
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
readonly "ts/
|
|
722
|
-
readonly "ts/
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
readonly "ts/
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
readonly "ts/
|
|
731
|
-
readonly "ts/
|
|
732
|
-
readonly "ts/prefer-string-starts-ends-with": import("./rules/state.js").State.ON;
|
|
733
|
-
readonly "ts/promise-function-async": import("./rules/state.js").State.ON;
|
|
734
|
-
readonly "ts/related-getter-setter-pairs": import("./rules/state.js").State.ON;
|
|
735
|
-
readonly "ts/require-array-sort-compare": import("./rules/state.js").State.ON;
|
|
736
|
-
readonly "ts/restrict-plus-operands": readonly [
|
|
737
|
-
import("./rules/state.js").State.ON,
|
|
738
|
-
{
|
|
739
|
-
readonly allowAny: false;
|
|
740
|
-
readonly allowBoolean: false;
|
|
741
|
-
readonly allowNullish: false;
|
|
742
|
-
readonly allowNumberAndString: false;
|
|
743
|
-
readonly allowRegExp: false;
|
|
744
|
-
}
|
|
745
|
-
];
|
|
746
|
-
readonly "ts/restrict-template-expressions": readonly [
|
|
747
|
-
import("./rules/state.js").State.ON,
|
|
748
|
-
{
|
|
749
|
-
readonly allowNullish: false;
|
|
750
|
-
readonly allowNever: false;
|
|
751
|
-
readonly allowRegExp: false;
|
|
752
|
-
}
|
|
753
|
-
];
|
|
754
|
-
readonly "ts/return-await": import("./rules/state.js").State.ON;
|
|
755
|
-
readonly "ts/strict-boolean-expressions": readonly [
|
|
756
|
-
import("./rules/state.js").State.ON,
|
|
757
|
-
{
|
|
758
|
-
readonly allowNullableObject: false;
|
|
759
|
-
readonly allowString: false;
|
|
760
|
-
}
|
|
761
|
-
];
|
|
762
|
-
readonly "ts/switch-exhaustiveness-check": readonly [
|
|
763
|
-
import("./rules/state.js").State.ON,
|
|
764
|
-
{
|
|
765
|
-
readonly requireDefaultForNonUnion: true;
|
|
766
|
-
readonly considerDefaultExhaustiveForUnions: true;
|
|
767
|
-
}
|
|
768
|
-
];
|
|
769
|
-
readonly "ts/unbound-method": import("./rules/state.js").State.ON;
|
|
770
|
-
readonly "ts/use-unknown-in-catch-callback-variable": import("./rules/state.js").State.ON;
|
|
408
|
+
readonly "ts/await-thenable": State.ON;
|
|
409
|
+
readonly "ts/ban-ts-comment": State.ON;
|
|
410
|
+
readonly "ts/ban-tslint-comment": State.ON;
|
|
411
|
+
readonly "ts/class-literal-property-style": State.ON;
|
|
412
|
+
readonly "ts/consistent-generic-constructors": State.ON;
|
|
413
|
+
readonly "ts/consistent-type-assertions": readonly [State.ON, {
|
|
414
|
+
readonly arrayLiteralTypeAssertions: "never";
|
|
415
|
+
readonly objectLiteralTypeAssertions: "never";
|
|
416
|
+
}];
|
|
417
|
+
readonly "ts/consistent-type-exports": State.ON;
|
|
418
|
+
readonly "ts/consistent-type-imports": State.ON;
|
|
419
|
+
readonly "ts/explicit-member-accessibility": readonly [State.ON, {
|
|
420
|
+
readonly overrides: {
|
|
421
|
+
readonly constructors: "no-public";
|
|
422
|
+
};
|
|
423
|
+
}];
|
|
424
|
+
readonly "ts/member-ordering": readonly [State.ON, {
|
|
425
|
+
readonly default: {
|
|
426
|
+
readonly optionalityOrder: "required-first";
|
|
427
|
+
};
|
|
428
|
+
}];
|
|
429
|
+
readonly "ts/method-signature-style": State.ON;
|
|
430
|
+
readonly "ts/no-array-delete": State.ON;
|
|
431
|
+
readonly "ts/no-base-to-string": State.ON;
|
|
432
|
+
readonly "ts/no-confusing-non-null-assertion": State.ON;
|
|
433
|
+
readonly "ts/no-confusing-void-expression": State.ON;
|
|
434
|
+
readonly "ts/no-duplicate-enum-values": State.ON;
|
|
435
|
+
readonly "ts/no-duplicate-type-constituents": State.ON;
|
|
436
|
+
readonly "ts/no-dynamic-delete": State.ON;
|
|
437
|
+
readonly "ts/no-empty-object-type": State.ON;
|
|
438
|
+
readonly "ts/no-explicit-any": readonly [State.ON, {
|
|
439
|
+
readonly fixToUnknown: true;
|
|
440
|
+
}];
|
|
441
|
+
readonly "ts/no-extra-non-null-assertion": State.ON;
|
|
442
|
+
readonly "ts/no-extraneous-class": readonly [State.ON, {
|
|
443
|
+
readonly allowEmpty: true;
|
|
444
|
+
}];
|
|
445
|
+
readonly "ts/no-floating-promises": readonly [State.ON, {
|
|
446
|
+
readonly checkThenables: true;
|
|
447
|
+
}];
|
|
448
|
+
readonly "ts/no-for-in-array": State.ON;
|
|
449
|
+
readonly "ts/no-import-type-side-effects": State.ON;
|
|
450
|
+
readonly "ts/no-inferrable-types": State.ON;
|
|
451
|
+
readonly "ts/no-meaningless-void-operator": readonly [State.ON, {
|
|
452
|
+
readonly checkNever: true;
|
|
453
|
+
}];
|
|
454
|
+
readonly "ts/no-misused-new": State.ON;
|
|
455
|
+
readonly "ts/no-misused-promises": State.ON;
|
|
456
|
+
readonly "ts/no-misused-spread": State.ON;
|
|
457
|
+
readonly "ts/no-mixed-enums": State.ON;
|
|
458
|
+
readonly "ts/no-non-null-asserted-nullish-coalescing": State.ON;
|
|
459
|
+
readonly "ts/no-non-null-asserted-optional-chain": State.ON;
|
|
460
|
+
readonly "ts/no-redundant-type-constituents": State.ON;
|
|
461
|
+
readonly "ts/no-require-imports": State.ON;
|
|
462
|
+
readonly "ts/no-this-alias": State.ON;
|
|
463
|
+
readonly "ts/no-unnecessary-boolean-literal-compare": State.ON;
|
|
464
|
+
readonly "ts/no-unnecessary-condition": State.ON;
|
|
465
|
+
readonly "ts/no-unnecessary-parameter-property-assignment": State.ON;
|
|
466
|
+
readonly "ts/no-unnecessary-qualifier": State.ON;
|
|
467
|
+
readonly "ts/no-unnecessary-template-expression": State.ON;
|
|
468
|
+
readonly "ts/no-unnecessary-type-arguments": State.ON;
|
|
469
|
+
readonly "ts/no-unnecessary-type-assertion": State.ON;
|
|
470
|
+
readonly "ts/no-unnecessary-type-constraint": State.ON;
|
|
471
|
+
readonly "ts/no-unnecessary-type-conversion": State.ON;
|
|
472
|
+
readonly "ts/no-unnecessary-type-parameters": State.ON;
|
|
473
|
+
readonly "ts/no-unsafe-argument": State.ON;
|
|
474
|
+
readonly "ts/no-unsafe-assignment": State.ON;
|
|
475
|
+
readonly "ts/no-unsafe-call": State.ON;
|
|
476
|
+
readonly "ts/no-unsafe-declaration-merging": State.ON;
|
|
477
|
+
readonly "ts/no-unsafe-enum-comparison": State.ON;
|
|
478
|
+
readonly "ts/no-unsafe-function-type": State.ON;
|
|
479
|
+
readonly "ts/no-unsafe-member-access": readonly [State.ON, {
|
|
480
|
+
readonly allowOptionalChaining: true;
|
|
481
|
+
}];
|
|
482
|
+
readonly "ts/no-unsafe-return": State.ON;
|
|
483
|
+
readonly "ts/no-unsafe-unary-minus": State.ON;
|
|
484
|
+
readonly "ts/no-useless-empty-export": State.ON;
|
|
485
|
+
readonly "ts/no-wrapper-object-types": State.ON;
|
|
486
|
+
readonly "ts/parameter-properties": readonly [State.ON, {
|
|
487
|
+
readonly prefer: "parameter-property";
|
|
488
|
+
}];
|
|
489
|
+
readonly "ts/prefer-as-const": State.ON;
|
|
490
|
+
readonly "ts/prefer-find": State.ON;
|
|
491
|
+
readonly "ts/prefer-for-of": State.ON;
|
|
492
|
+
readonly "ts/prefer-function-type": State.ON;
|
|
493
|
+
readonly "ts/prefer-includes": State.ON;
|
|
494
|
+
readonly "ts/prefer-literal-enum-member": State.ON;
|
|
495
|
+
readonly "ts/prefer-namespace-keyword": State.ON;
|
|
496
|
+
readonly "ts/prefer-nullish-coalescing": State.ON;
|
|
497
|
+
readonly "ts/prefer-optional-chain": State.ON;
|
|
498
|
+
readonly "ts/prefer-readonly": State.ON;
|
|
499
|
+
readonly "ts/prefer-reduce-type-parameter": State.ON;
|
|
500
|
+
readonly "ts/prefer-regexp-exec": State.ON;
|
|
501
|
+
readonly "ts/prefer-return-this-type": State.ON;
|
|
502
|
+
readonly "ts/prefer-string-starts-ends-with": State.ON;
|
|
503
|
+
readonly "ts/promise-function-async": State.ON;
|
|
504
|
+
readonly "ts/related-getter-setter-pairs": State.ON;
|
|
505
|
+
readonly "ts/require-array-sort-compare": State.ON;
|
|
506
|
+
readonly "ts/restrict-plus-operands": readonly [State.ON, {
|
|
507
|
+
readonly allowAny: false;
|
|
508
|
+
readonly allowBoolean: false;
|
|
509
|
+
readonly allowNullish: false;
|
|
510
|
+
readonly allowNumberAndString: false;
|
|
511
|
+
readonly allowRegExp: false;
|
|
512
|
+
}];
|
|
513
|
+
readonly "ts/restrict-template-expressions": readonly [State.ON, {
|
|
514
|
+
readonly allowNullish: false;
|
|
515
|
+
readonly allowNever: false;
|
|
516
|
+
readonly allowRegExp: false;
|
|
517
|
+
}];
|
|
518
|
+
readonly "ts/return-await": State.ON;
|
|
519
|
+
readonly "ts/strict-boolean-expressions": readonly [State.ON, {
|
|
520
|
+
readonly allowNullableObject: false;
|
|
521
|
+
readonly allowString: false;
|
|
522
|
+
}];
|
|
523
|
+
readonly "ts/switch-exhaustiveness-check": readonly [State.ON, {
|
|
524
|
+
readonly requireDefaultForNonUnion: true;
|
|
525
|
+
readonly considerDefaultExhaustiveForUnions: true;
|
|
526
|
+
}];
|
|
527
|
+
readonly "ts/unbound-method": State.ON;
|
|
528
|
+
readonly "ts/use-unknown-in-catch-callback-variable": State.ON;
|
|
771
529
|
};
|
|
772
530
|
} | {
|
|
773
531
|
rules: {
|
|
774
|
-
readonly "dot-notation":
|
|
775
|
-
readonly "ts/dot-notation": readonly [
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
readonly "no-
|
|
784
|
-
readonly "ts/no-
|
|
785
|
-
readonly "no-
|
|
786
|
-
readonly "
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
readonly "
|
|
790
|
-
|
|
791
|
-
{
|
|
792
|
-
readonly
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
readonly "
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
};
|
|
803
|
-
}
|
|
804
|
-
];
|
|
805
|
-
readonly "prefer-promise-reject-errors": import("./rules/state.js").State.OFF;
|
|
806
|
-
readonly "ts/prefer-promise-reject-errors": readonly [
|
|
807
|
-
import("./rules/state.js").State.ON,
|
|
808
|
-
{
|
|
809
|
-
readonly allowThrowingUnknown: true;
|
|
810
|
-
}
|
|
811
|
-
];
|
|
812
|
-
readonly "require-await": import("./rules/state.js").State.OFF;
|
|
813
|
-
readonly "ts/require-await": import("./rules/state.js").State.ON;
|
|
532
|
+
readonly "dot-notation": State.OFF;
|
|
533
|
+
readonly "ts/dot-notation": readonly [State.ON, {
|
|
534
|
+
readonly allowPrivateClassPropertyAccess: true;
|
|
535
|
+
readonly allowProtectedClassPropertyAccess: true;
|
|
536
|
+
readonly allowIndexSignaturePropertyAccess: true;
|
|
537
|
+
}];
|
|
538
|
+
readonly "no-implied-eval": State.OFF;
|
|
539
|
+
readonly "ts/no-implied-eval": State.ON;
|
|
540
|
+
readonly "no-restricted-imports": State.OFF;
|
|
541
|
+
readonly "no-unused-vars": State.OFF;
|
|
542
|
+
readonly "ts/no-unused-vars": State.ON;
|
|
543
|
+
readonly "no-throw-literal": State.OFF;
|
|
544
|
+
readonly "ts/only-throw-error": readonly [State.ON, {
|
|
545
|
+
readonly allowThrowingAny: false;
|
|
546
|
+
}];
|
|
547
|
+
readonly "prefer-destructuring": State.OFF;
|
|
548
|
+
readonly "ts/prefer-destructuring": readonly [State.ON, {
|
|
549
|
+
readonly AssignmentExpression: {
|
|
550
|
+
readonly array: false;
|
|
551
|
+
readonly object: false;
|
|
552
|
+
};
|
|
553
|
+
}];
|
|
554
|
+
readonly "prefer-promise-reject-errors": State.OFF;
|
|
555
|
+
readonly "ts/prefer-promise-reject-errors": readonly [State.ON, {
|
|
556
|
+
readonly allowThrowingUnknown: true;
|
|
557
|
+
}];
|
|
558
|
+
readonly "require-await": State.OFF;
|
|
559
|
+
readonly "ts/require-await": State.ON;
|
|
814
560
|
};
|
|
815
561
|
})[];
|
|
816
562
|
mocha: ({
|
|
817
563
|
rules: {
|
|
818
|
-
readonly "mocha/handle-done-callback":
|
|
819
|
-
readonly "mocha/max-top-level-suites":
|
|
820
|
-
readonly "mocha/no-async-suite":
|
|
821
|
-
readonly "mocha/no-empty-title":
|
|
822
|
-
readonly "mocha/no-exclusive-tests":
|
|
823
|
-
readonly "mocha/no-exports":
|
|
824
|
-
readonly "mocha/no-global-tests":
|
|
825
|
-
readonly "mocha/no-identical-title":
|
|
826
|
-
readonly "mocha/no-mocha-arrows":
|
|
827
|
-
readonly "mocha/no-nested-tests":
|
|
828
|
-
readonly "mocha/no-pending-tests":
|
|
829
|
-
readonly "mocha/no-return-and-callback":
|
|
830
|
-
readonly "mocha/no-return-from-async":
|
|
831
|
-
readonly "mocha/no-sibling-hooks":
|
|
832
|
-
readonly "mocha/no-top-level-hooks":
|
|
833
|
-
readonly "prefer-arrow-callback":
|
|
834
|
-
readonly "mocha/prefer-arrow-callback":
|
|
564
|
+
readonly "mocha/handle-done-callback": State.ON;
|
|
565
|
+
readonly "mocha/max-top-level-suites": State.ON;
|
|
566
|
+
readonly "mocha/no-async-suite": State.ON;
|
|
567
|
+
readonly "mocha/no-empty-title": State.ON;
|
|
568
|
+
readonly "mocha/no-exclusive-tests": State.ON;
|
|
569
|
+
readonly "mocha/no-exports": State.ON;
|
|
570
|
+
readonly "mocha/no-global-tests": State.ON;
|
|
571
|
+
readonly "mocha/no-identical-title": State.ON;
|
|
572
|
+
readonly "mocha/no-mocha-arrows": State.ON;
|
|
573
|
+
readonly "mocha/no-nested-tests": State.ON;
|
|
574
|
+
readonly "mocha/no-pending-tests": State.ON;
|
|
575
|
+
readonly "mocha/no-return-and-callback": State.ON;
|
|
576
|
+
readonly "mocha/no-return-from-async": State.ON;
|
|
577
|
+
readonly "mocha/no-sibling-hooks": State.ON;
|
|
578
|
+
readonly "mocha/no-top-level-hooks": State.ON;
|
|
579
|
+
readonly "prefer-arrow-callback": State.OFF;
|
|
580
|
+
readonly "mocha/prefer-arrow-callback": State.ON;
|
|
835
581
|
};
|
|
836
582
|
} | {
|
|
837
583
|
rules: {
|
|
838
|
-
readonly "no-unused-expressions":
|
|
839
|
-
readonly "chai/no-unused-expressions": readonly [
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
readonly allowTernary: true;
|
|
844
|
-
}
|
|
845
|
-
];
|
|
584
|
+
readonly "no-unused-expressions": State.OFF;
|
|
585
|
+
readonly "chai/no-unused-expressions": readonly [State.ON, {
|
|
586
|
+
readonly allowShortCircuit: true;
|
|
587
|
+
readonly allowTernary: true;
|
|
588
|
+
}];
|
|
846
589
|
};
|
|
847
590
|
} | {
|
|
848
591
|
rules: {
|
|
849
|
-
readonly "chai-expect/no-inner-compare":
|
|
850
|
-
readonly "chai-expect/no-inner-literal":
|
|
851
|
-
readonly "chai-expect/missing-assertion":
|
|
592
|
+
readonly "chai-expect/no-inner-compare": State.ON;
|
|
593
|
+
readonly "chai-expect/no-inner-literal": State.ON;
|
|
594
|
+
readonly "chai-expect/missing-assertion": State.ON;
|
|
852
595
|
};
|
|
853
596
|
})[];
|
|
854
597
|
svelte: ({
|
|
855
598
|
rules: {
|
|
856
|
-
readonly "no-inner-declarations":
|
|
857
|
-
readonly "no-self-assign":
|
|
858
|
-
readonly "no-unused-vars":
|
|
859
|
-
readonly "ts/no-unused-vars":
|
|
860
|
-
readonly "prefer-const":
|
|
861
|
-
readonly "stylistic/indent":
|
|
862
|
-
readonly "ts/no-confusing-void-expression":
|
|
599
|
+
readonly "no-inner-declarations": State.OFF;
|
|
600
|
+
readonly "no-self-assign": State.OFF;
|
|
601
|
+
readonly "no-unused-vars": State.OFF;
|
|
602
|
+
readonly "ts/no-unused-vars": State.OFF;
|
|
603
|
+
readonly "prefer-const": State.OFF;
|
|
604
|
+
readonly "stylistic/indent": State.OFF;
|
|
605
|
+
readonly "ts/no-confusing-void-expression": State.OFF;
|
|
863
606
|
};
|
|
864
607
|
} | {
|
|
865
608
|
rules: {
|
|
866
|
-
readonly "svelte/infinite-reactive-loop":
|
|
867
|
-
readonly "svelte/no-dom-manipulating":
|
|
868
|
-
readonly "svelte/no-dupe-else-if-blocks":
|
|
869
|
-
readonly "svelte/no-dupe-on-directives":
|
|
870
|
-
readonly "svelte/no-dupe-style-properties":
|
|
871
|
-
readonly "svelte/no-dupe-use-directives":
|
|
872
|
-
readonly "svelte/no-not-function-handler":
|
|
873
|
-
readonly "svelte/no-object-in-text-mustaches":
|
|
874
|
-
readonly "svelte/no-raw-special-elements":
|
|
875
|
-
readonly "svelte/no-reactive-reassign":
|
|
876
|
-
readonly "svelte/no-shorthand-style-property-overrides":
|
|
877
|
-
readonly "svelte/no-store-async":
|
|
878
|
-
readonly "svelte/no-top-level-browser-globals":
|
|
879
|
-
readonly "svelte/no-unknown-style-directive-property":
|
|
880
|
-
readonly "svelte/prefer-svelte-reactivity":
|
|
881
|
-
readonly "svelte/require-store-callbacks-use-set-param":
|
|
882
|
-
readonly "svelte/require-store-reactive-access":
|
|
883
|
-
readonly "svelte/valid-compile":
|
|
884
|
-
readonly "svelte/valid-style-parse":
|
|
885
|
-
readonly "svelte/no-at-html-tags":
|
|
886
|
-
readonly "svelte/no-target-blank":
|
|
887
|
-
readonly "svelte/block-lang": readonly [
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
readonly "svelte/
|
|
899
|
-
readonly "svelte/no-
|
|
900
|
-
readonly "svelte/no-
|
|
901
|
-
readonly "svelte/no-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
readonly "svelte/no-
|
|
905
|
-
readonly "svelte/no-
|
|
906
|
-
readonly "svelte/no-
|
|
907
|
-
readonly "svelte/
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
readonly "svelte/
|
|
915
|
-
readonly "svelte/
|
|
916
|
-
readonly "svelte/
|
|
917
|
-
readonly "svelte/
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
readonly "svelte/
|
|
925
|
-
readonly "svelte/
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
readonly "svelte/
|
|
929
|
-
readonly "svelte/
|
|
930
|
-
readonly "svelte/
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
readonly "svelte/
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
readonly "svelte/
|
|
944
|
-
readonly "svelte/
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
readonly selfClosingTag: "never";
|
|
948
|
-
}
|
|
949
|
-
];
|
|
950
|
-
readonly "svelte/html-self-closing": import("./rules/state.js").State.ON;
|
|
951
|
-
readonly "svelte/indent": import("./rules/state.js").State.ON;
|
|
952
|
-
readonly "svelte/max-attributes-per-line": import("./rules/state.js").State.ON;
|
|
953
|
-
readonly "svelte/mustache-spacing": import("./rules/state.js").State.ON;
|
|
954
|
-
readonly "svelte/no-extra-reactive-curlies": import("./rules/state.js").State.ON;
|
|
955
|
-
readonly "svelte/no-spaces-around-equal-signs-in-attribute": import("./rules/state.js").State.ON;
|
|
956
|
-
readonly "svelte/prefer-class-directive": readonly [
|
|
957
|
-
import("./rules/state.js").State.ON,
|
|
958
|
-
{
|
|
959
|
-
readonly prefer: "empty";
|
|
960
|
-
}
|
|
961
|
-
];
|
|
962
|
-
readonly "svelte/prefer-style-directive": import("./rules/state.js").State.ON;
|
|
963
|
-
readonly "svelte/require-event-prefix": import("./rules/state.js").State.ON;
|
|
964
|
-
readonly "svelte/shorthand-attribute": import("./rules/state.js").State.ON;
|
|
965
|
-
readonly "svelte/shorthand-directive": import("./rules/state.js").State.ON;
|
|
966
|
-
readonly "svelte/spaced-html-comment": import("./rules/state.js").State.ON;
|
|
967
|
-
readonly "svelte/no-export-load-in-svelte-module-in-kit-pages": import("./rules/state.js").State.ON;
|
|
968
|
-
readonly "svelte/no-navigation-without-resolve": import("./rules/state.js").State.ON;
|
|
969
|
-
readonly "svelte/valid-prop-names-in-kit-pages": import("./rules/state.js").State.ON;
|
|
970
|
-
readonly "svelte/comment-directive": import("./rules/state.js").State.ON;
|
|
971
|
-
readonly "svelte/system": import("./rules/state.js").State.ON;
|
|
609
|
+
readonly "svelte/infinite-reactive-loop": State.ON;
|
|
610
|
+
readonly "svelte/no-dom-manipulating": State.ON;
|
|
611
|
+
readonly "svelte/no-dupe-else-if-blocks": State.ON;
|
|
612
|
+
readonly "svelte/no-dupe-on-directives": State.ON;
|
|
613
|
+
readonly "svelte/no-dupe-style-properties": State.ON;
|
|
614
|
+
readonly "svelte/no-dupe-use-directives": State.ON;
|
|
615
|
+
readonly "svelte/no-not-function-handler": State.ON;
|
|
616
|
+
readonly "svelte/no-object-in-text-mustaches": State.ON;
|
|
617
|
+
readonly "svelte/no-raw-special-elements": State.ON;
|
|
618
|
+
readonly "svelte/no-reactive-reassign": State.ON;
|
|
619
|
+
readonly "svelte/no-shorthand-style-property-overrides": State.ON;
|
|
620
|
+
readonly "svelte/no-store-async": State.ON;
|
|
621
|
+
readonly "svelte/no-top-level-browser-globals": State.ON;
|
|
622
|
+
readonly "svelte/no-unknown-style-directive-property": State.ON;
|
|
623
|
+
readonly "svelte/prefer-svelte-reactivity": State.ON;
|
|
624
|
+
readonly "svelte/require-store-callbacks-use-set-param": State.ON;
|
|
625
|
+
readonly "svelte/require-store-reactive-access": State.ON;
|
|
626
|
+
readonly "svelte/valid-compile": State.ON;
|
|
627
|
+
readonly "svelte/valid-style-parse": State.ON;
|
|
628
|
+
readonly "svelte/no-at-html-tags": State.ON;
|
|
629
|
+
readonly "svelte/no-target-blank": State.ON;
|
|
630
|
+
readonly "svelte/block-lang": readonly [State.ON, {
|
|
631
|
+
readonly script: readonly ["ts"];
|
|
632
|
+
readonly style: readonly ["css"];
|
|
633
|
+
}];
|
|
634
|
+
readonly "svelte/button-has-type": State.ON;
|
|
635
|
+
readonly "svelte/no-add-event-listener": State.ON;
|
|
636
|
+
readonly "svelte/no-at-debug-tags": State.ON;
|
|
637
|
+
readonly "svelte/no-ignored-unsubscribe": State.ON;
|
|
638
|
+
readonly "svelte/no-immutable-reactive-statements": State.ON;
|
|
639
|
+
readonly "svelte/no-inline-styles": State.ON;
|
|
640
|
+
readonly "svelte/no-reactive-functions": State.ON;
|
|
641
|
+
readonly "svelte/no-reactive-literals": State.ON;
|
|
642
|
+
readonly "svelte/no-svelte-internal": State.ON;
|
|
643
|
+
readonly "svelte/no-unnecessary-state-wrap": State.ON;
|
|
644
|
+
readonly "svelte/no-unused-props": readonly [State.ON, {
|
|
645
|
+
readonly checkImportedTypes: true;
|
|
646
|
+
}];
|
|
647
|
+
readonly "svelte/no-unused-svelte-ignore": State.ON;
|
|
648
|
+
readonly "svelte/no-useless-children-snippet": State.ON;
|
|
649
|
+
readonly "svelte/no-useless-mustaches": State.ON;
|
|
650
|
+
readonly "svelte/prefer-const": readonly [State.ON, {
|
|
651
|
+
readonly destructuring: "all";
|
|
652
|
+
}];
|
|
653
|
+
readonly "svelte/prefer-destructured-store-props": State.ON;
|
|
654
|
+
readonly "svelte/prefer-writable-derived": State.ON;
|
|
655
|
+
readonly "svelte/require-each-key": State.ON;
|
|
656
|
+
readonly "svelte/require-event-dispatcher-types": State.ON;
|
|
657
|
+
readonly "svelte/require-optimized-style-attribute": State.ON;
|
|
658
|
+
readonly "svelte/require-stores-init": State.ON;
|
|
659
|
+
readonly "svelte/valid-each-key": State.ON;
|
|
660
|
+
readonly "svelte/consistent-selector-style": readonly [State.ON, {
|
|
661
|
+
readonly checkGlobal: true;
|
|
662
|
+
}];
|
|
663
|
+
readonly "svelte/derived-has-same-inputs-outputs": State.ON;
|
|
664
|
+
readonly "svelte/first-attribute-linebreak": readonly [State.ON, {
|
|
665
|
+
readonly singleline: "below";
|
|
666
|
+
}];
|
|
667
|
+
readonly "svelte/html-closing-bracket-new-line": State.ON;
|
|
668
|
+
readonly "svelte/html-closing-bracket-spacing": readonly [State.ON, {
|
|
669
|
+
readonly selfClosingTag: "never";
|
|
670
|
+
}];
|
|
671
|
+
readonly "svelte/html-self-closing": State.ON;
|
|
672
|
+
readonly "svelte/indent": State.ON;
|
|
673
|
+
readonly "svelte/max-attributes-per-line": State.ON;
|
|
674
|
+
readonly "svelte/mustache-spacing": State.ON;
|
|
675
|
+
readonly "svelte/no-extra-reactive-curlies": State.ON;
|
|
676
|
+
readonly "svelte/no-spaces-around-equal-signs-in-attribute": State.ON;
|
|
677
|
+
readonly "svelte/prefer-class-directive": readonly [State.ON, {
|
|
678
|
+
readonly prefer: "empty";
|
|
679
|
+
}];
|
|
680
|
+
readonly "svelte/prefer-style-directive": State.ON;
|
|
681
|
+
readonly "svelte/require-event-prefix": State.ON;
|
|
682
|
+
readonly "svelte/shorthand-attribute": State.ON;
|
|
683
|
+
readonly "svelte/shorthand-directive": State.ON;
|
|
684
|
+
readonly "svelte/spaced-html-comment": State.ON;
|
|
685
|
+
readonly "svelte/no-export-load-in-svelte-module-in-kit-pages": State.ON;
|
|
686
|
+
readonly "svelte/no-navigation-without-resolve": State.ON;
|
|
687
|
+
readonly "svelte/valid-prop-names-in-kit-pages": State.ON;
|
|
688
|
+
readonly "svelte/comment-directive": State.ON;
|
|
689
|
+
readonly "svelte/system": State.ON;
|
|
972
690
|
};
|
|
973
691
|
} | {
|
|
974
692
|
rules: {
|
|
975
|
-
readonly "no-inner-declarations":
|
|
976
|
-
readonly "svelte/no-inner-declarations": readonly [
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
];
|
|
980
|
-
readonly "stylistic/no-trailing-spaces": import("./rules/state.js").State.OFF;
|
|
981
|
-
readonly "svelte/no-trailing-spaces": import("./rules/state.js").State.ON;
|
|
693
|
+
readonly "no-inner-declarations": State.OFF;
|
|
694
|
+
readonly "svelte/no-inner-declarations": readonly [State.ON, "both"];
|
|
695
|
+
readonly "stylistic/no-trailing-spaces": State.OFF;
|
|
696
|
+
readonly "svelte/no-trailing-spaces": State.ON;
|
|
982
697
|
};
|
|
983
698
|
})[];
|
|
984
699
|
html: {
|
|
985
700
|
rules: {
|
|
986
|
-
readonly "html/no-duplicate-attrs":
|
|
987
|
-
readonly "html/no-duplicate-class":
|
|
988
|
-
readonly "html/no-duplicate-id":
|
|
989
|
-
readonly "html/no-duplicate-in-head":
|
|
990
|
-
readonly "html/no-ineffective-attrs":
|
|
991
|
-
readonly "html/no-invalid-entity":
|
|
992
|
-
readonly "html/no-nested-interactive":
|
|
993
|
-
readonly "html/no-obsolete-tags":
|
|
994
|
-
readonly "html/no-target-blank":
|
|
995
|
-
readonly "html/require-button-type":
|
|
996
|
-
readonly "html/require-closing-tags":
|
|
997
|
-
readonly "html/require-doctype":
|
|
998
|
-
readonly "html/require-li-container":
|
|
999
|
-
readonly "html/require-meta-charset":
|
|
1000
|
-
readonly "html/use-baseline":
|
|
1001
|
-
readonly "html/no-multiple-h1":
|
|
1002
|
-
readonly "html/require-lang":
|
|
1003
|
-
readonly "html/no-abstract-roles":
|
|
1004
|
-
readonly "html/no-accesskey-attrs":
|
|
1005
|
-
readonly "html/no-aria-hidden-body":
|
|
1006
|
-
readonly "html/no-aria-hidden-on-focusable":
|
|
1007
|
-
readonly "html/no-empty-headings":
|
|
1008
|
-
readonly "html/no-heading-inside-button":
|
|
1009
|
-
readonly "html/no-invalid-role":
|
|
1010
|
-
readonly "html/no-non-scalable-viewport":
|
|
1011
|
-
readonly "html/no-positive-tabindex":
|
|
1012
|
-
readonly "html/no-skip-heading-levels":
|
|
1013
|
-
readonly "html/require-form-method":
|
|
1014
|
-
readonly "html/require-frame-title":
|
|
1015
|
-
readonly "html/require-img-alt":
|
|
1016
|
-
readonly "html/require-input-label":
|
|
1017
|
-
readonly "html/require-meta-viewport":
|
|
1018
|
-
readonly "html/attrs-newline": readonly [
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
];
|
|
1039
|
-
readonly "html/lowercase": import("./rules/state.js").State.ON;
|
|
1040
|
-
readonly "html/no-extra-spacing-attrs": readonly [
|
|
1041
|
-
import("./rules/state.js").State.ON,
|
|
1042
|
-
{
|
|
1043
|
-
readonly disallowMissing: true;
|
|
1044
|
-
readonly disallowTabs: true;
|
|
1045
|
-
readonly disallowInAssignment: true;
|
|
1046
|
-
}
|
|
1047
|
-
];
|
|
1048
|
-
readonly "html/no-extra-spacing-text": import("./rules/state.js").State.ON;
|
|
1049
|
-
readonly "html/no-multiple-empty-lines": readonly [
|
|
1050
|
-
import("./rules/state.js").State.ON,
|
|
1051
|
-
{
|
|
1052
|
-
readonly max: 1;
|
|
1053
|
-
}
|
|
1054
|
-
];
|
|
1055
|
-
readonly "html/no-trailing-spaces": import("./rules/state.js").State.ON;
|
|
1056
|
-
readonly "html/quotes": import("./rules/state.js").State.ON;
|
|
701
|
+
readonly "html/no-duplicate-attrs": State.ON;
|
|
702
|
+
readonly "html/no-duplicate-class": State.ON;
|
|
703
|
+
readonly "html/no-duplicate-id": State.ON;
|
|
704
|
+
readonly "html/no-duplicate-in-head": State.ON;
|
|
705
|
+
readonly "html/no-ineffective-attrs": State.ON;
|
|
706
|
+
readonly "html/no-invalid-entity": State.ON;
|
|
707
|
+
readonly "html/no-nested-interactive": State.ON;
|
|
708
|
+
readonly "html/no-obsolete-tags": State.ON;
|
|
709
|
+
readonly "html/no-target-blank": State.ON;
|
|
710
|
+
readonly "html/require-button-type": State.ON;
|
|
711
|
+
readonly "html/require-closing-tags": State.ON;
|
|
712
|
+
readonly "html/require-doctype": State.ON;
|
|
713
|
+
readonly "html/require-li-container": State.ON;
|
|
714
|
+
readonly "html/require-meta-charset": State.ON;
|
|
715
|
+
readonly "html/use-baseline": State.ON;
|
|
716
|
+
readonly "html/no-multiple-h1": State.ON;
|
|
717
|
+
readonly "html/require-lang": State.ON;
|
|
718
|
+
readonly "html/no-abstract-roles": State.ON;
|
|
719
|
+
readonly "html/no-accesskey-attrs": State.ON;
|
|
720
|
+
readonly "html/no-aria-hidden-body": State.ON;
|
|
721
|
+
readonly "html/no-aria-hidden-on-focusable": State.ON;
|
|
722
|
+
readonly "html/no-empty-headings": State.ON;
|
|
723
|
+
readonly "html/no-heading-inside-button": State.ON;
|
|
724
|
+
readonly "html/no-invalid-role": State.ON;
|
|
725
|
+
readonly "html/no-non-scalable-viewport": State.ON;
|
|
726
|
+
readonly "html/no-positive-tabindex": State.ON;
|
|
727
|
+
readonly "html/no-skip-heading-levels": State.ON;
|
|
728
|
+
readonly "html/require-form-method": State.ON;
|
|
729
|
+
readonly "html/require-frame-title": State.ON;
|
|
730
|
+
readonly "html/require-img-alt": State.ON;
|
|
731
|
+
readonly "html/require-input-label": State.ON;
|
|
732
|
+
readonly "html/require-meta-viewport": State.ON;
|
|
733
|
+
readonly "html/attrs-newline": readonly [State.ON, {
|
|
734
|
+
readonly ifAttrsMoreThan: 0;
|
|
735
|
+
}];
|
|
736
|
+
readonly "html/element-newline": readonly [State.ON, {
|
|
737
|
+
readonly skip: readonly ["head"];
|
|
738
|
+
readonly inline: readonly ["$inline"];
|
|
739
|
+
}];
|
|
740
|
+
readonly "html/indent": readonly [State.ON, 2];
|
|
741
|
+
readonly "html/lowercase": State.ON;
|
|
742
|
+
readonly "html/no-extra-spacing-attrs": readonly [State.ON, {
|
|
743
|
+
readonly disallowMissing: true;
|
|
744
|
+
readonly disallowTabs: true;
|
|
745
|
+
readonly disallowInAssignment: true;
|
|
746
|
+
}];
|
|
747
|
+
readonly "html/no-extra-spacing-text": State.ON;
|
|
748
|
+
readonly "html/no-multiple-empty-lines": readonly [State.ON, {
|
|
749
|
+
readonly max: 1;
|
|
750
|
+
}];
|
|
751
|
+
readonly "html/no-trailing-spaces": State.ON;
|
|
752
|
+
readonly "html/quotes": State.ON;
|
|
1057
753
|
};
|
|
1058
754
|
}[];
|
|
1059
755
|
css: {
|
|
1060
756
|
rules: {
|
|
1061
|
-
readonly "css/font-family-fallbacks":
|
|
1062
|
-
readonly "css/no-duplicate-imports":
|
|
1063
|
-
readonly "css/no-duplicate-keyframe-selectors":
|
|
1064
|
-
readonly "css/no-empty-blocks":
|
|
1065
|
-
readonly "css/no-important":
|
|
1066
|
-
readonly "css/no-invalid-at-rule-placement":
|
|
1067
|
-
readonly "css/no-invalid-at-rules":
|
|
1068
|
-
readonly "css/no-invalid-named-grid-areas":
|
|
1069
|
-
readonly "css/no-unmatchable-selectors":
|
|
1070
|
-
readonly "css/prefer-logical-properties":
|
|
1071
|
-
readonly "css/relative-font-units":
|
|
1072
|
-
readonly "css/use-baseline":
|
|
757
|
+
readonly "css/font-family-fallbacks": State.ON;
|
|
758
|
+
readonly "css/no-duplicate-imports": State.ON;
|
|
759
|
+
readonly "css/no-duplicate-keyframe-selectors": State.ON;
|
|
760
|
+
readonly "css/no-empty-blocks": State.ON;
|
|
761
|
+
readonly "css/no-important": State.ON;
|
|
762
|
+
readonly "css/no-invalid-at-rule-placement": State.ON;
|
|
763
|
+
readonly "css/no-invalid-at-rules": State.ON;
|
|
764
|
+
readonly "css/no-invalid-named-grid-areas": State.ON;
|
|
765
|
+
readonly "css/no-unmatchable-selectors": State.ON;
|
|
766
|
+
readonly "css/prefer-logical-properties": State.ON;
|
|
767
|
+
readonly "css/relative-font-units": State.ON;
|
|
768
|
+
readonly "css/use-baseline": State.ON;
|
|
1073
769
|
};
|
|
1074
770
|
}[];
|
|
1075
771
|
json: ({
|
|
1076
772
|
rules: {
|
|
1077
|
-
readonly "json/no-duplicate-keys":
|
|
1078
|
-
readonly "json/no-unsafe-values":
|
|
1079
|
-
readonly "json/no-unnormalized-keys":
|
|
1080
|
-
readonly "json/top-level-interop":
|
|
773
|
+
readonly "json/no-duplicate-keys": State.ON;
|
|
774
|
+
readonly "json/no-unsafe-values": State.ON;
|
|
775
|
+
readonly "json/no-unnormalized-keys": State.ON;
|
|
776
|
+
readonly "json/top-level-interop": State.ON;
|
|
1081
777
|
};
|
|
1082
778
|
} | {
|
|
1083
779
|
rules: {
|
|
1084
|
-
readonly "jsonc/no-bigint-literals":
|
|
1085
|
-
readonly "jsonc/no-binary-expression":
|
|
1086
|
-
readonly "jsonc/no-binary-numeric-literals":
|
|
1087
|
-
readonly "jsonc/no-comments":
|
|
1088
|
-
readonly "jsonc/no-escape-sequence-in-identifier":
|
|
1089
|
-
readonly "jsonc/no-hexadecimal-numeric-literals":
|
|
1090
|
-
readonly "jsonc/no-infinity":
|
|
1091
|
-
readonly "jsonc/no-nan":
|
|
1092
|
-
readonly "jsonc/no-number-props":
|
|
1093
|
-
readonly "jsonc/no-numeric-separators":
|
|
1094
|
-
readonly "jsonc/no-octal-numeric-literals":
|
|
1095
|
-
readonly "jsonc/no-parenthesized":
|
|
1096
|
-
readonly "jsonc/no-plus-sign":
|
|
1097
|
-
readonly "jsonc/no-regexp-literals":
|
|
1098
|
-
readonly "jsonc/no-template-literals":
|
|
1099
|
-
readonly "jsonc/no-undefined-value":
|
|
1100
|
-
readonly "jsonc/no-unicode-codepoint-escapes":
|
|
1101
|
-
readonly "jsonc/valid-json-number":
|
|
1102
|
-
readonly "jsonc/vue-custom-block/no-parsing-error":
|
|
780
|
+
readonly "jsonc/no-bigint-literals": State.ON;
|
|
781
|
+
readonly "jsonc/no-binary-expression": State.ON;
|
|
782
|
+
readonly "jsonc/no-binary-numeric-literals": State.ON;
|
|
783
|
+
readonly "jsonc/no-comments": State.ON;
|
|
784
|
+
readonly "jsonc/no-escape-sequence-in-identifier": State.ON;
|
|
785
|
+
readonly "jsonc/no-hexadecimal-numeric-literals": State.ON;
|
|
786
|
+
readonly "jsonc/no-infinity": State.ON;
|
|
787
|
+
readonly "jsonc/no-nan": State.ON;
|
|
788
|
+
readonly "jsonc/no-number-props": State.ON;
|
|
789
|
+
readonly "jsonc/no-numeric-separators": State.ON;
|
|
790
|
+
readonly "jsonc/no-octal-numeric-literals": State.ON;
|
|
791
|
+
readonly "jsonc/no-parenthesized": State.ON;
|
|
792
|
+
readonly "jsonc/no-plus-sign": State.ON;
|
|
793
|
+
readonly "jsonc/no-regexp-literals": State.ON;
|
|
794
|
+
readonly "jsonc/no-template-literals": State.ON;
|
|
795
|
+
readonly "jsonc/no-undefined-value": State.ON;
|
|
796
|
+
readonly "jsonc/no-unicode-codepoint-escapes": State.ON;
|
|
797
|
+
readonly "jsonc/valid-json-number": State.ON;
|
|
798
|
+
readonly "jsonc/vue-custom-block/no-parsing-error": State.ON;
|
|
1103
799
|
};
|
|
1104
800
|
} | {
|
|
1105
801
|
rules: {
|
|
1106
|
-
readonly "jsonc/array-bracket-spacing":
|
|
1107
|
-
readonly "jsonc/array-element-newline": readonly [
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
];
|
|
1111
|
-
readonly "jsonc/
|
|
1112
|
-
readonly "jsonc/
|
|
1113
|
-
readonly "jsonc/
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
readonly "jsonc/
|
|
1131
|
-
readonly "jsonc/
|
|
1132
|
-
readonly "jsonc/
|
|
1133
|
-
readonly "jsonc/
|
|
1134
|
-
readonly "jsonc/
|
|
1135
|
-
import("./rules/state.js").State.ON,
|
|
1136
|
-
{
|
|
1137
|
-
readonly consistent: true;
|
|
1138
|
-
readonly multiline: true;
|
|
1139
|
-
readonly minProperties: 2;
|
|
1140
|
-
}
|
|
1141
|
-
];
|
|
1142
|
-
readonly "jsonc/object-curly-spacing": readonly [
|
|
1143
|
-
import("./rules/state.js").State.ON,
|
|
1144
|
-
"always"
|
|
1145
|
-
];
|
|
1146
|
-
readonly "jsonc/object-property-newline": import("./rules/state.js").State.ON;
|
|
1147
|
-
readonly "jsonc/quote-props": import("./rules/state.js").State.ON;
|
|
1148
|
-
readonly "jsonc/quotes": import("./rules/state.js").State.ON;
|
|
1149
|
-
readonly "jsonc/space-unary-ops": import("./rules/state.js").State.ON;
|
|
802
|
+
readonly "jsonc/array-bracket-spacing": State.ON;
|
|
803
|
+
readonly "jsonc/array-element-newline": readonly [State.ON, "consistent"];
|
|
804
|
+
readonly "jsonc/comma-dangle": State.ON;
|
|
805
|
+
readonly "jsonc/comma-style": State.ON;
|
|
806
|
+
readonly "jsonc/indent": readonly [State.ON, 2];
|
|
807
|
+
readonly "jsonc/key-spacing": State.ON;
|
|
808
|
+
readonly "jsonc/no-floating-decimal": State.ON;
|
|
809
|
+
readonly "jsonc/no-irregular-whitespace": readonly [State.ON, {
|
|
810
|
+
readonly skipStrings: true;
|
|
811
|
+
readonly skipComments: true;
|
|
812
|
+
readonly skipRegExps: true;
|
|
813
|
+
readonly skipTemplates: true;
|
|
814
|
+
readonly skipJSXText: true;
|
|
815
|
+
}];
|
|
816
|
+
readonly "jsonc/no-multi-str": State.ON;
|
|
817
|
+
readonly "jsonc/no-octal-escape": State.ON;
|
|
818
|
+
readonly "jsonc/no-octal": State.ON;
|
|
819
|
+
readonly "jsonc/no-sparse-arrays": State.ON;
|
|
820
|
+
readonly "jsonc/no-useless-escape": State.ON;
|
|
821
|
+
readonly "jsonc/object-curly-newline": readonly [State.ON, {
|
|
822
|
+
readonly consistent: true;
|
|
823
|
+
readonly multiline: true;
|
|
824
|
+
readonly minProperties: 2;
|
|
825
|
+
}];
|
|
826
|
+
readonly "jsonc/object-curly-spacing": readonly [State.ON, "always"];
|
|
827
|
+
readonly "jsonc/object-property-newline": State.ON;
|
|
828
|
+
readonly "jsonc/quote-props": State.ON;
|
|
829
|
+
readonly "jsonc/quotes": State.ON;
|
|
830
|
+
readonly "jsonc/space-unary-ops": State.ON;
|
|
1150
831
|
};
|
|
1151
832
|
})[];
|
|
1152
833
|
jsonc: {
|
|
1153
834
|
rules: {
|
|
1154
|
-
readonly "jsonc/no-comments":
|
|
835
|
+
readonly "jsonc/no-comments": State.OFF;
|
|
1155
836
|
};
|
|
1156
837
|
}[];
|
|
1157
838
|
jsoncc: {
|
|
1158
839
|
rules: {
|
|
1159
|
-
readonly "jsonc/comma-dangle": readonly [
|
|
1160
|
-
import("./rules/state.js").State.ON,
|
|
1161
|
-
"always-multiline"
|
|
1162
|
-
];
|
|
840
|
+
readonly "jsonc/comma-dangle": readonly [State.ON, "always-multiline"];
|
|
1163
841
|
};
|
|
1164
842
|
}[];
|
|
1165
843
|
yml: ({
|
|
1166
844
|
rules: {
|
|
1167
|
-
readonly "yml/block-mapping-colon-indicator-newline":
|
|
1168
|
-
readonly "yml/block-mapping-question-indicator-newline":
|
|
1169
|
-
readonly "yml/block-mapping":
|
|
1170
|
-
readonly "yml/block-sequence-hyphen-indicator-newline":
|
|
1171
|
-
readonly "yml/block-sequence":
|
|
1172
|
-
readonly "yml/indent":
|
|
1173
|
-
readonly "yml/no-empty-key":
|
|
1174
|
-
readonly "yml/no-empty-sequence-entry":
|
|
1175
|
-
readonly "yml/no-tab-indent":
|
|
1176
|
-
readonly "yml/no-trailing-zeros":
|
|
1177
|
-
readonly "yml/require-string-key":
|
|
845
|
+
readonly "yml/block-mapping-colon-indicator-newline": State.ON;
|
|
846
|
+
readonly "yml/block-mapping-question-indicator-newline": State.ON;
|
|
847
|
+
readonly "yml/block-mapping": State.ON;
|
|
848
|
+
readonly "yml/block-sequence-hyphen-indicator-newline": State.ON;
|
|
849
|
+
readonly "yml/block-sequence": State.ON;
|
|
850
|
+
readonly "yml/indent": State.ON;
|
|
851
|
+
readonly "yml/no-empty-key": State.ON;
|
|
852
|
+
readonly "yml/no-empty-sequence-entry": State.ON;
|
|
853
|
+
readonly "yml/no-tab-indent": State.ON;
|
|
854
|
+
readonly "yml/no-trailing-zeros": State.ON;
|
|
855
|
+
readonly "yml/require-string-key": State.ON;
|
|
1178
856
|
};
|
|
1179
857
|
} | {
|
|
1180
858
|
rules: {
|
|
1181
|
-
readonly "yml/flow-mapping-curly-newline": readonly [
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
];
|
|
1189
|
-
readonly "yml/flow-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
readonly "yml/
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
{
|
|
1203
|
-
readonly max: 1;
|
|
1204
|
-
readonly maxBOF: 0;
|
|
1205
|
-
readonly maxEOF: 0;
|
|
1206
|
-
}
|
|
1207
|
-
];
|
|
1208
|
-
readonly "yml/spaced-comment": readonly [
|
|
1209
|
-
import("./rules/state.js").State.ON,
|
|
1210
|
-
"always",
|
|
1211
|
-
{
|
|
1212
|
-
readonly exceptions: readonly [
|
|
1213
|
-
"#"
|
|
1214
|
-
];
|
|
1215
|
-
readonly markers: readonly [
|
|
1216
|
-
"-",
|
|
1217
|
-
"#",
|
|
1218
|
-
"##",
|
|
1219
|
-
"###",
|
|
1220
|
-
"####",
|
|
1221
|
-
"#####",
|
|
1222
|
-
"region",
|
|
1223
|
-
"endregion"
|
|
1224
|
-
];
|
|
1225
|
-
}
|
|
1226
|
-
];
|
|
859
|
+
readonly "yml/flow-mapping-curly-newline": readonly [State.ON, {
|
|
860
|
+
readonly consistent: true;
|
|
861
|
+
readonly multiline: true;
|
|
862
|
+
readonly minProperties: 2;
|
|
863
|
+
}];
|
|
864
|
+
readonly "yml/flow-mapping-curly-spacing": readonly [State.ON, "never", {
|
|
865
|
+
readonly objectsInObjects: true;
|
|
866
|
+
}];
|
|
867
|
+
readonly "yml/flow-sequence-bracket-newline": State.ON;
|
|
868
|
+
readonly "yml/flow-sequence-bracket-spacing": State.ON;
|
|
869
|
+
readonly "yml/key-spacing": State.ON;
|
|
870
|
+
readonly "yml/no-irregular-whitespace": State.ON;
|
|
871
|
+
readonly "yml/no-multiple-empty-lines": readonly [State.ON, {
|
|
872
|
+
readonly max: 1;
|
|
873
|
+
readonly maxBOF: 0;
|
|
874
|
+
readonly maxEOF: 0;
|
|
875
|
+
}];
|
|
876
|
+
readonly "yml/spaced-comment": readonly [State.ON, "always", {
|
|
877
|
+
readonly exceptions: readonly ["#"];
|
|
878
|
+
readonly markers: readonly ["-", "#", "##", "###", "####", "#####", "region", "endregion"];
|
|
879
|
+
}];
|
|
1227
880
|
};
|
|
1228
881
|
})[];
|
|
1229
882
|
};
|
|
1230
883
|
};
|
|
1231
884
|
export default _default;
|
|
1232
|
-
//# sourceMappingURL=index.d.ts.map
|
|
885
|
+
//# sourceMappingURL=index.d.ts.map
|