@eslinted/defaults 12.10.0 → 12.11.1
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/.github/workflows/RELEASE.yml +36 -36
- package/.github/workflows/rc.yml +36 -36
- package/.markdownlint.jsonc +97 -97
- package/.mocharc.yml +15 -15
- package/LICENSE +20 -20
- package/README.md +4 -4
- package/dist/index.d.ts +99 -912
- package/dist/index.d.ts.map +1 -1
- package/dist/rules/index.d.ts +99 -492
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/scopes/enable.d.ts +0 -2
- package/dist/rules/scopes/enable.d.ts.map +1 -1
- package/dist/rules/scopes/enable.js +0 -3
- package/dist/rules/scopes/enable.js.map +1 -1
- package/dist/rules/scopes/enable.style.d.ts +24 -134
- package/dist/rules/scopes/enable.style.d.ts.map +1 -1
- package/dist/rules/scopes/enable.style.js +22 -192
- package/dist/rules/scopes/enable.style.js.map +1 -1
- package/dist/rules/scopes/index.d.ts +24 -136
- package/dist/rules/scopes/index.d.ts.map +1 -1
- package/dist/rules/scopes/json/index.d.ts +7 -20
- package/dist/rules/scopes/json/index.d.ts.map +1 -1
- package/dist/rules/scopes/json/plugin/extension.d.ts +7 -20
- package/dist/rules/scopes/json/plugin/extension.d.ts.map +1 -1
- package/dist/rules/scopes/json/plugin/extension.js +7 -41
- package/dist/rules/scopes/json/plugin/extension.js.map +1 -1
- package/dist/rules/scopes/mocha/chai/index.d.ts +0 -2
- package/dist/rules/scopes/mocha/chai/index.d.ts.map +1 -1
- package/dist/rules/scopes/mocha/chai/index.js +0 -2
- package/dist/rules/scopes/mocha/chai/index.js.map +1 -1
- package/dist/rules/scopes/mocha/enable.d.ts +3 -10
- package/dist/rules/scopes/mocha/enable.d.ts.map +1 -1
- package/dist/rules/scopes/mocha/enable.js +3 -19
- package/dist/rules/scopes/mocha/enable.js.map +1 -1
- package/dist/rules/scopes/mocha/index.d.ts +3 -12
- package/dist/rules/scopes/mocha/index.d.ts.map +1 -1
- package/dist/rules/scopes/svelte/enable.d.ts +19 -91
- package/dist/rules/scopes/svelte/enable.d.ts.map +1 -1
- package/dist/rules/scopes/svelte/enable.js +20 -153
- package/dist/rules/scopes/svelte/enable.js.map +1 -1
- package/dist/rules/scopes/svelte/extension/index.d.ts +2 -7
- package/dist/rules/scopes/svelte/extension/index.d.ts.map +1 -1
- package/dist/rules/scopes/svelte/extension/index.js +2 -11
- package/dist/rules/scopes/svelte/extension/index.js.map +1 -1
- package/dist/rules/scopes/svelte/index.d.ts +21 -98
- package/dist/rules/scopes/svelte/index.d.ts.map +1 -1
- package/dist/rules/scopes/ts/enable.d.ts +31 -163
- package/dist/rules/scopes/ts/enable.d.ts.map +1 -1
- package/dist/rules/scopes/ts/enable.js +32 -380
- package/dist/rules/scopes/ts/enable.js.map +1 -1
- package/dist/rules/scopes/ts/extension/index.d.ts +1 -20
- package/dist/rules/scopes/ts/extension/index.d.ts.map +1 -1
- package/dist/rules/scopes/ts/extension/index.js +2 -25
- package/dist/rules/scopes/ts/extension/index.js.map +1 -1
- package/dist/rules/scopes/ts/index.d.ts +32 -183
- package/dist/rules/scopes/ts/index.d.ts.map +1 -1
- package/dist/rules/scopes/yml/index.d.ts +12 -43
- package/dist/rules/scopes/yml/index.d.ts.map +1 -1
- package/dist/rules/scopes/yml/plugin/extension.d.ts +5 -22
- package/dist/rules/scopes/yml/plugin/extension.d.ts.map +1 -1
- package/dist/rules/scopes/yml/plugin/extension.js +5 -36
- package/dist/rules/scopes/yml/plugin/extension.js.map +1 -1
- package/dist/rules/scopes/yml/plugin/index.d.ts +7 -21
- package/dist/rules/scopes/yml/plugin/index.d.ts.map +1 -1
- package/dist/rules/scopes/yml/plugin/index.js +8 -44
- package/dist/rules/scopes/yml/plugin/index.js.map +1 -1
- package/eslint.config.js +3 -3
- package/package.json +56 -56
- package/src/files/_factory/index.ts +76 -76
- package/src/files/_factory/project/index.ts +2 -2
- package/src/files/_factory/project/roots.ts +4 -4
- package/src/files/_factory/project/subroots.ts +8 -8
- package/src/files/index.ts +23 -23
- package/src/files/scopes/css.ts +5 -5
- package/src/files/scopes/html.ts +5 -5
- package/src/files/scopes/js.ts +5 -5
- package/src/files/scopes/json.ts +5 -5
- package/src/files/scopes/jsonc.ts +5 -5
- package/src/files/scopes/jsoncc.ts +9 -9
- package/src/files/scopes/mocha.ts +5 -5
- package/src/files/scopes/svelte.ts +5 -5
- package/src/files/scopes/ts.ts +5 -5
- package/src/files/scopes/yml.ts +8 -8
- package/src/ignores/global.ts +5 -5
- package/src/ignores/index.ts +25 -25
- package/src/ignores/scopes/css.ts +1 -1
- package/src/ignores/scopes/html.ts +1 -1
- package/src/ignores/scopes/js.ts +1 -1
- package/src/ignores/scopes/json.ts +1 -1
- package/src/ignores/scopes/jsonc.ts +1 -1
- package/src/ignores/scopes/jsoncc.ts +1 -1
- package/src/ignores/scopes/mocha.ts +1 -1
- package/src/ignores/scopes/svelte.ts +1 -1
- package/src/ignores/scopes/ts.ts +1 -1
- package/src/ignores/scopes/yml.ts +1 -1
- package/src/index.ts +10 -10
- package/src/rules/_strings/id.ts +21 -21
- package/src/rules/_strings/index.ts +3 -3
- package/src/rules/_strings/option.ts +30 -30
- package/src/rules/_strings/state.spec.ts +64 -64
- package/src/rules/_strings/state.ts +4 -4
- package/src/rules/index.ts +23 -23
- package/src/rules/scopes/css/enable.ts +31 -31
- package/src/rules/scopes/css/index.ts +3 -3
- package/src/rules/scopes/enable.style.ts +507 -705
- package/src/rules/scopes/enable.ts +390 -401
- package/src/rules/scopes/html/index.ts +3 -3
- package/src/rules/scopes/html/plugin/index.ts +113 -113
- package/src/rules/scopes/index.ts +7 -7
- package/src/rules/scopes/json/enable.ts +18 -18
- package/src/rules/scopes/json/index.ts +9 -9
- package/src/rules/scopes/json/plugin/extension.ts +60 -98
- package/src/rules/scopes/json/plugin/index.ts +35 -35
- package/src/rules/scopes/jsonc/index.ts +3 -3
- package/src/rules/scopes/jsonc/plugin/index.ts +12 -12
- package/src/rules/scopes/jsoncc/index.ts +3 -3
- package/src/rules/scopes/jsoncc/plugin/index.ts +16 -16
- package/src/rules/scopes/mocha/chai/expect.ts +16 -16
- package/src/rules/scopes/mocha/chai/index.ts +18 -20
- package/src/rules/scopes/mocha/disable.ts +13 -13
- package/src/rules/scopes/mocha/enable.ts +36 -52
- package/src/rules/scopes/mocha/index.ts +11 -11
- package/src/rules/scopes/svelte/disable.ts +19 -19
- package/src/rules/scopes/svelte/enable.ts +157 -292
- package/src/rules/scopes/svelte/extension/disable.ts +14 -14
- package/src/rules/scopes/svelte/extension/index.ts +17 -27
- package/src/rules/scopes/svelte/index.ts +11 -11
- package/src/rules/scopes/ts/disable.ts +30 -30
- package/src/rules/scopes/ts/enable.ts +188 -578
- package/src/rules/scopes/ts/extension/disable.ts +35 -35
- package/src/rules/scopes/ts/extension/index.ts +62 -87
- package/src/rules/scopes/ts/index.ts +11 -11
- package/src/rules/scopes/yml/index.ts +7 -7
- package/src/rules/scopes/yml/plugin/extension.ts +55 -88
- package/src/rules/scopes/yml/plugin/index.ts +38 -88
- package/src/settings/global/index.ts +6 -6
- package/src/settings/index.ts +7 -7
- package/src/settings/registry/index.ts +23 -23
- package/src/settings/registry/manifests/css.ts +9 -9
- package/src/settings/registry/manifests/html.ts +10 -10
- package/src/settings/registry/manifests/js.ts +8 -8
- package/src/settings/registry/manifests/json.ts +7 -7
- package/src/settings/registry/manifests/jsonc.ts +9 -9
- package/src/settings/registry/manifests/jsoncc.ts +9 -9
- package/src/settings/registry/manifests/mocha.ts +8 -8
- package/src/settings/registry/manifests/svelte.ts +10 -10
- package/src/settings/registry/manifests/ts.ts +30 -30
- package/src/settings/registry/manifests/yml.ts +9 -9
- package/tsconfig.json +75 -156
package/dist/rules/index.d.ts
CHANGED
|
@@ -191,8 +191,6 @@ export declare const rules: {
|
|
|
191
191
|
readonly array: false;
|
|
192
192
|
readonly object: false;
|
|
193
193
|
};
|
|
194
|
-
}, {
|
|
195
|
-
readonly enforceForRenamedProperties: true;
|
|
196
194
|
}];
|
|
197
195
|
readonly "prefer-exponentiation-operator": "error";
|
|
198
196
|
readonly "prefer-numeric-literals": "error";
|
|
@@ -240,7 +238,6 @@ export declare const rules: {
|
|
|
240
238
|
readonly "@stylistic/generator-star-spacing": "error";
|
|
241
239
|
readonly "@stylistic/implicit-arrow-linebreak": "error";
|
|
242
240
|
readonly "@stylistic/indent": readonly ["error", 2, {
|
|
243
|
-
readonly SwitchCase: 1;
|
|
244
241
|
readonly VariableDeclarator: {
|
|
245
242
|
readonly var: 0;
|
|
246
243
|
readonly let: 0;
|
|
@@ -248,7 +245,6 @@ export declare const rules: {
|
|
|
248
245
|
};
|
|
249
246
|
readonly outerIIFEBody: 0;
|
|
250
247
|
readonly offsetTernaryExpressions: true;
|
|
251
|
-
readonly tabLength: 2;
|
|
252
248
|
}];
|
|
253
249
|
readonly "@stylistic/indent-binary-ops": readonly ["error", 2];
|
|
254
250
|
readonly "@stylistic/key-spacing": "error";
|
|
@@ -267,13 +263,9 @@ export declare const rules: {
|
|
|
267
263
|
readonly next: "*";
|
|
268
264
|
readonly blankLine: "always";
|
|
269
265
|
}];
|
|
270
|
-
}, {
|
|
271
|
-
readonly exceptAfterSingleLine: false;
|
|
272
|
-
readonly exceptAfterOverload: true;
|
|
273
266
|
}];
|
|
274
267
|
readonly "@stylistic/max-len": readonly ["error", {
|
|
275
268
|
readonly code: 300;
|
|
276
|
-
readonly tabWidth: 2;
|
|
277
269
|
readonly ignoreComments: true;
|
|
278
270
|
readonly ignoreTrailingComments: true;
|
|
279
271
|
readonly ignoreUrls: true;
|
|
@@ -281,113 +273,38 @@ export declare const rules: {
|
|
|
281
273
|
readonly ignoreTemplateLiterals: true;
|
|
282
274
|
readonly ignoreRegExpLiterals: true;
|
|
283
275
|
}];
|
|
284
|
-
readonly "@stylistic/max-statements-per-line":
|
|
285
|
-
|
|
286
|
-
}];
|
|
287
|
-
readonly "@stylistic/member-delimiter-style": readonly ["error", {
|
|
288
|
-
readonly multiline: {
|
|
289
|
-
readonly delimiter: "semi";
|
|
290
|
-
readonly requireLast: true;
|
|
291
|
-
};
|
|
292
|
-
readonly singleline: {
|
|
293
|
-
readonly delimiter: "semi";
|
|
294
|
-
readonly requireLast: false;
|
|
295
|
-
};
|
|
296
|
-
readonly multilineDetection: "brackets";
|
|
297
|
-
}];
|
|
276
|
+
readonly "@stylistic/max-statements-per-line": "error";
|
|
277
|
+
readonly "@stylistic/member-delimiter-style": "error";
|
|
298
278
|
readonly "@stylistic/multiline-ternary": readonly ["error", "always-multiline"];
|
|
299
|
-
readonly "@stylistic/newline-per-chained-call":
|
|
300
|
-
|
|
301
|
-
}];
|
|
302
|
-
readonly "@stylistic/no-extra-parens": readonly ["error", "all", {
|
|
303
|
-
readonly conditionalAssign: true;
|
|
304
|
-
readonly returnAssign: true;
|
|
305
|
-
readonly nestedBinaryExpressions: true;
|
|
306
|
-
readonly ternaryOperandBinaryExpressions: true;
|
|
307
|
-
readonly enforceForArrowConditionals: true;
|
|
308
|
-
readonly enforceForSequenceExpressions: true;
|
|
309
|
-
readonly enforceForNewInMemberExpressions: true;
|
|
310
|
-
readonly enforceForFunctionPrototypeMethods: true;
|
|
311
|
-
readonly nestedConditionalExpressions: true;
|
|
312
|
-
readonly allowNodesInSpreadElement: {
|
|
313
|
-
readonly ConditionalExpression: false;
|
|
314
|
-
readonly LogicalExpression: false;
|
|
315
|
-
readonly AwaitExpression: false;
|
|
316
|
-
};
|
|
317
|
-
}];
|
|
279
|
+
readonly "@stylistic/newline-per-chained-call": "error";
|
|
280
|
+
readonly "@stylistic/no-extra-parens": "error";
|
|
318
281
|
readonly "@stylistic/no-extra-semi": "error";
|
|
319
282
|
readonly "@stylistic/no-floating-decimal": "error";
|
|
320
283
|
readonly "@stylistic/no-mixed-spaces-and-tabs": "error";
|
|
321
284
|
readonly "@stylistic/no-multi-spaces": readonly ["error", {
|
|
322
|
-
readonly ignoreEOLComments: false;
|
|
323
285
|
readonly exceptions: {
|
|
324
286
|
readonly Property: false;
|
|
325
287
|
readonly ImportAttributes: false;
|
|
326
288
|
};
|
|
327
|
-
readonly includeTabs: true;
|
|
328
289
|
}];
|
|
329
290
|
readonly "@stylistic/no-multiple-empty-lines": readonly ["error", {
|
|
330
291
|
readonly max: 1;
|
|
331
292
|
readonly maxBOF: 0;
|
|
332
293
|
readonly maxEOF: 0;
|
|
333
294
|
}];
|
|
334
|
-
readonly "@stylistic/no-tabs":
|
|
335
|
-
|
|
336
|
-
}];
|
|
337
|
-
readonly "@stylistic/no-trailing-spaces": readonly ["error", {
|
|
338
|
-
readonly skipBlankLines: false;
|
|
339
|
-
readonly ignoreComments: false;
|
|
340
|
-
}];
|
|
295
|
+
readonly "@stylistic/no-tabs": "error";
|
|
296
|
+
readonly "@stylistic/no-trailing-spaces": "error";
|
|
341
297
|
readonly "@stylistic/no-whitespace-before-property": "error";
|
|
342
|
-
readonly "@stylistic/nonblock-statement-body-position": readonly ["error", "below"
|
|
343
|
-
readonly overrides: {};
|
|
344
|
-
}];
|
|
298
|
+
readonly "@stylistic/nonblock-statement-body-position": readonly ["error", "below"];
|
|
345
299
|
readonly "@stylistic/object-curly-newline": readonly ["error", {
|
|
346
|
-
readonly
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
readonly minProperties: 3;
|
|
350
|
-
};
|
|
351
|
-
readonly ObjectPattern: {
|
|
352
|
-
readonly consistent: true;
|
|
353
|
-
readonly multiline: true;
|
|
354
|
-
readonly minProperties: 3;
|
|
355
|
-
};
|
|
356
|
-
readonly ImportDeclaration: {
|
|
357
|
-
readonly consistent: true;
|
|
358
|
-
readonly multiline: true;
|
|
359
|
-
readonly minProperties: 3;
|
|
360
|
-
};
|
|
361
|
-
readonly ExportDeclaration: {
|
|
362
|
-
readonly consistent: true;
|
|
363
|
-
readonly multiline: true;
|
|
364
|
-
readonly minProperties: 3;
|
|
365
|
-
};
|
|
366
|
-
readonly TSTypeLiteral: {
|
|
367
|
-
readonly consistent: true;
|
|
368
|
-
readonly multiline: true;
|
|
369
|
-
readonly minProperties: 3;
|
|
370
|
-
};
|
|
371
|
-
readonly TSInterfaceBody: {
|
|
372
|
-
readonly consistent: true;
|
|
373
|
-
readonly multiline: true;
|
|
374
|
-
readonly minProperties: 3;
|
|
375
|
-
};
|
|
376
|
-
readonly TSEnumBody: {
|
|
377
|
-
readonly consistent: true;
|
|
378
|
-
readonly multiline: true;
|
|
379
|
-
readonly minProperties: 3;
|
|
380
|
-
};
|
|
381
|
-
}];
|
|
382
|
-
readonly "@stylistic/object-curly-spacing": readonly ["error", "always", {
|
|
383
|
-
readonly arraysInObjects: true;
|
|
384
|
-
readonly objectsInObjects: true;
|
|
300
|
+
readonly consistent: true;
|
|
301
|
+
readonly multiline: true;
|
|
302
|
+
readonly minProperties: 3;
|
|
385
303
|
}];
|
|
304
|
+
readonly "@stylistic/object-curly-spacing": readonly ["error", "always"];
|
|
386
305
|
readonly "@stylistic/object-property-newline": "error";
|
|
387
306
|
readonly "@stylistic/one-var-declaration-per-line": readonly ["error", "always"];
|
|
388
|
-
readonly "@stylistic/operator-linebreak": readonly ["error", "before"
|
|
389
|
-
readonly overrides: {};
|
|
390
|
-
}];
|
|
307
|
+
readonly "@stylistic/operator-linebreak": readonly ["error", "before"];
|
|
391
308
|
readonly "@stylistic/padded-blocks": readonly ["error", "never", {
|
|
392
309
|
readonly allowSingleLineBlocks: true;
|
|
393
310
|
}];
|
|
@@ -446,45 +363,22 @@ export declare const rules: {
|
|
|
446
363
|
}];
|
|
447
364
|
readonly "@stylistic/quote-props": readonly ["error", "as-needed", {
|
|
448
365
|
readonly keywords: true;
|
|
449
|
-
readonly unnecessary: true;
|
|
450
|
-
readonly numbers: false;
|
|
451
366
|
}];
|
|
452
367
|
readonly "@stylistic/quotes": readonly ["error", "double", {
|
|
453
368
|
readonly avoidEscape: true;
|
|
454
369
|
readonly allowTemplateLiterals: "always";
|
|
455
|
-
readonly ignoreStringLiterals: false;
|
|
456
|
-
}];
|
|
457
|
-
readonly "@stylistic/rest-spread-spacing": readonly ["error", "never"];
|
|
458
|
-
readonly "@stylistic/semi": readonly ["error", "always", {
|
|
459
|
-
readonly omitLastInOneLineBlock: false;
|
|
460
|
-
readonly omitLastInOneLineClassBody: false;
|
|
461
|
-
}];
|
|
462
|
-
readonly "@stylistic/semi-spacing": readonly ["error", {
|
|
463
|
-
readonly before: false;
|
|
464
|
-
readonly after: true;
|
|
465
|
-
}];
|
|
466
|
-
readonly "@stylistic/semi-style": readonly ["error", "last"];
|
|
467
|
-
readonly "@stylistic/space-before-blocks": readonly ["error", {
|
|
468
|
-
readonly functions: "always";
|
|
469
|
-
readonly keywords: "always";
|
|
470
|
-
readonly classes: "always";
|
|
471
370
|
}];
|
|
371
|
+
readonly "@stylistic/rest-spread-spacing": "error";
|
|
372
|
+
readonly "@stylistic/semi": "error";
|
|
373
|
+
readonly "@stylistic/semi-spacing": "error";
|
|
374
|
+
readonly "@stylistic/semi-style": "error";
|
|
375
|
+
readonly "@stylistic/space-before-blocks": "error";
|
|
472
376
|
readonly "@stylistic/space-before-function-paren": readonly ["error", {
|
|
473
|
-
readonly anonymous: "always";
|
|
474
377
|
readonly named: "never";
|
|
475
|
-
readonly asyncArrow: "always";
|
|
476
|
-
readonly catch: "always";
|
|
477
|
-
}];
|
|
478
|
-
readonly "@stylistic/space-in-parens": readonly ["error", "never"];
|
|
479
|
-
readonly "@stylistic/space-infix-ops": readonly ["error", {
|
|
480
|
-
readonly int32Hint: true;
|
|
481
|
-
readonly ignoreTypes: false;
|
|
482
|
-
}];
|
|
483
|
-
readonly "@stylistic/space-unary-ops": readonly ["error", {
|
|
484
|
-
readonly words: true;
|
|
485
|
-
readonly nonwords: false;
|
|
486
|
-
readonly overrides: {};
|
|
487
378
|
}];
|
|
379
|
+
readonly "@stylistic/space-in-parens": "error";
|
|
380
|
+
readonly "@stylistic/space-infix-ops": "error";
|
|
381
|
+
readonly "@stylistic/space-unary-ops": "error";
|
|
488
382
|
readonly "@stylistic/spaced-comment": readonly ["error", "always", {
|
|
489
383
|
readonly line: {
|
|
490
384
|
readonly exceptions: readonly ["/", "-", "+", "="];
|
|
@@ -496,12 +390,9 @@ export declare const rules: {
|
|
|
496
390
|
readonly balanced: true;
|
|
497
391
|
};
|
|
498
392
|
}];
|
|
499
|
-
readonly "@stylistic/switch-colon-spacing":
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
}];
|
|
503
|
-
readonly "@stylistic/template-curly-spacing": readonly ["error", "never"];
|
|
504
|
-
readonly "@stylistic/template-tag-spacing": readonly ["error", "never"];
|
|
393
|
+
readonly "@stylistic/switch-colon-spacing": "error";
|
|
394
|
+
readonly "@stylistic/template-curly-spacing": "error";
|
|
395
|
+
readonly "@stylistic/template-tag-spacing": "error";
|
|
505
396
|
readonly "@stylistic/type-annotation-spacing": readonly ["error", {
|
|
506
397
|
readonly before: true;
|
|
507
398
|
readonly after: true;
|
|
@@ -518,10 +409,7 @@ export declare const rules: {
|
|
|
518
409
|
readonly functionPrototypeMethods: true;
|
|
519
410
|
}];
|
|
520
411
|
readonly "@stylistic/wrap-regex": "error";
|
|
521
|
-
readonly "@stylistic/yield-star-spacing":
|
|
522
|
-
readonly before: false;
|
|
523
|
-
readonly after: true;
|
|
524
|
-
}];
|
|
412
|
+
readonly "@stylistic/yield-star-spacing": "error";
|
|
525
413
|
};
|
|
526
414
|
})[];
|
|
527
415
|
ts: ({
|
|
@@ -563,56 +451,30 @@ export declare const rules: {
|
|
|
563
451
|
id: "enable";
|
|
564
452
|
rules: {
|
|
565
453
|
readonly "@typescript-eslint/await-thenable": "error";
|
|
566
|
-
readonly "@typescript-eslint/ban-ts-comment":
|
|
567
|
-
readonly "ts-check": false;
|
|
568
|
-
readonly "ts-expect-error": {
|
|
569
|
-
readonly descriptionFormat: "^:? (?:TEST|BUG): .+$";
|
|
570
|
-
};
|
|
571
|
-
readonly "ts-ignore": true;
|
|
572
|
-
readonly "ts-nocheck": true;
|
|
573
|
-
readonly minimumDescriptionLength: 10;
|
|
574
|
-
}];
|
|
454
|
+
readonly "@typescript-eslint/ban-ts-comment": "error";
|
|
575
455
|
readonly "@typescript-eslint/ban-tslint-comment": "error";
|
|
576
|
-
readonly "@typescript-eslint/class-literal-property-style":
|
|
577
|
-
readonly "@typescript-eslint/consistent-generic-constructors":
|
|
578
|
-
readonly "@typescript-eslint/consistent-indexed-object-style":
|
|
456
|
+
readonly "@typescript-eslint/class-literal-property-style": "error";
|
|
457
|
+
readonly "@typescript-eslint/consistent-generic-constructors": "error";
|
|
458
|
+
readonly "@typescript-eslint/consistent-indexed-object-style": "error";
|
|
579
459
|
readonly "@typescript-eslint/consistent-type-assertions": readonly ["error", {
|
|
580
|
-
readonly assertionStyle: "as";
|
|
581
460
|
readonly arrayLiteralTypeAssertions: "never";
|
|
582
461
|
readonly objectLiteralTypeAssertions: "never";
|
|
583
462
|
}];
|
|
584
|
-
readonly "@typescript-eslint/consistent-type-exports":
|
|
585
|
-
|
|
586
|
-
}];
|
|
587
|
-
readonly "@typescript-eslint/consistent-type-imports": readonly ["error", {
|
|
588
|
-
readonly disallowTypeAnnotations: true;
|
|
589
|
-
readonly fixStyle: "separate-type-imports";
|
|
590
|
-
readonly prefer: "type-imports";
|
|
591
|
-
}];
|
|
463
|
+
readonly "@typescript-eslint/consistent-type-exports": "error";
|
|
464
|
+
readonly "@typescript-eslint/consistent-type-imports": "error";
|
|
592
465
|
readonly "@typescript-eslint/explicit-member-accessibility": readonly ["error", {
|
|
593
|
-
readonly accessibility: "explicit";
|
|
594
|
-
readonly ignoredMethodNames: readonly [];
|
|
595
466
|
readonly overrides: {
|
|
596
|
-
readonly properties: "explicit";
|
|
597
467
|
readonly constructors: "no-public";
|
|
598
|
-
readonly accessors: "explicit";
|
|
599
|
-
readonly methods: "explicit";
|
|
600
|
-
readonly parameterProperties: "explicit";
|
|
601
468
|
};
|
|
602
469
|
}];
|
|
603
470
|
readonly "@typescript-eslint/member-ordering": readonly ["error", {
|
|
604
471
|
readonly default: {
|
|
605
|
-
readonly memberTypes: readonly ["signature", "call-signature", "public-static-field", "protected-static-field", "private-static-field", "#private-static-field", "public-decorated-field", "protected-decorated-field", "private-decorated-field", "public-instance-field", "protected-instance-field", "private-instance-field", "#private-instance-field", "public-abstract-field", "protected-abstract-field", "public-field", "protected-field", "private-field", "#private-field", "static-field", "instance-field", "abstract-field", "decorated-field", "field", "static-initialization", "public-constructor", "protected-constructor", "private-constructor", "constructor", "public-static-accessor", "protected-static-accessor", "private-static-accessor", "#private-static-accessor", "public-decorated-accessor", "protected-decorated-accessor", "private-decorated-accessor", "public-instance-accessor", "protected-instance-accessor", "private-instance-accessor", "#private-instance-accessor", "public-abstract-accessor", "protected-abstract-accessor", "public-accessor", "protected-accessor", "private-accessor", "#private-accessor", "static-accessor", "instance-accessor", "abstract-accessor", "decorated-accessor", "accessor", "public-static-get", "protected-static-get", "private-static-get", "#private-static-get", "public-decorated-get", "protected-decorated-get", "private-decorated-get", "public-instance-get", "protected-instance-get", "private-instance-get", "#private-instance-get", "public-abstract-get", "protected-abstract-get", "public-get", "protected-get", "private-get", "#private-get", "static-get", "instance-get", "abstract-get", "decorated-get", "get", "public-static-set", "protected-static-set", "private-static-set", "#private-static-set", "public-decorated-set", "protected-decorated-set", "private-decorated-set", "public-instance-set", "protected-instance-set", "private-instance-set", "#private-instance-set", "public-abstract-set", "protected-abstract-set", "public-set", "protected-set", "private-set", "#private-set", "static-set", "instance-set", "abstract-set", "decorated-set", "set", "public-static-method", "protected-static-method", "private-static-method", "#private-static-method", "public-decorated-method", "protected-decorated-method", "private-decorated-method", "public-instance-method", "protected-instance-method", "private-instance-method", "#private-instance-method", "public-abstract-method", "protected-abstract-method", "public-method", "protected-method", "private-method", "#private-method", "static-method", "instance-method", "abstract-method", "decorated-method", "method"];
|
|
606
472
|
readonly optionalityOrder: "required-first";
|
|
607
|
-
readonly order: "as-written";
|
|
608
473
|
};
|
|
609
474
|
}];
|
|
610
|
-
readonly "@typescript-eslint/method-signature-style":
|
|
475
|
+
readonly "@typescript-eslint/method-signature-style": "error";
|
|
611
476
|
readonly "@typescript-eslint/no-array-delete": "error";
|
|
612
|
-
readonly "@typescript-eslint/no-base-to-string":
|
|
613
|
-
readonly checkUnknown: false;
|
|
614
|
-
readonly ignoredTypeNames: readonly ["Error", "RegExp", "URL", "URLSearchParams"];
|
|
615
|
-
}];
|
|
477
|
+
readonly "@typescript-eslint/no-base-to-string": "error";
|
|
616
478
|
readonly "@typescript-eslint/no-confusing-non-null-assertion": "error";
|
|
617
479
|
readonly "@typescript-eslint/no-confusing-void-expression": readonly ["error", {
|
|
618
480
|
readonly ignoreArrowShorthand: true;
|
|
@@ -620,86 +482,42 @@ export declare const rules: {
|
|
|
620
482
|
readonly ignoreVoidReturningFunctions: true;
|
|
621
483
|
}];
|
|
622
484
|
readonly "@typescript-eslint/no-duplicate-enum-values": "error";
|
|
623
|
-
readonly "@typescript-eslint/no-duplicate-type-constituents":
|
|
624
|
-
readonly ignoreIntersections: false;
|
|
625
|
-
readonly ignoreUnions: false;
|
|
626
|
-
}];
|
|
485
|
+
readonly "@typescript-eslint/no-duplicate-type-constituents": "error";
|
|
627
486
|
readonly "@typescript-eslint/no-dynamic-delete": "error";
|
|
628
|
-
readonly "@typescript-eslint/no-empty-object-type":
|
|
629
|
-
readonly allowInterfaces: "never";
|
|
630
|
-
readonly allowObjectTypes: "never";
|
|
631
|
-
}];
|
|
487
|
+
readonly "@typescript-eslint/no-empty-object-type": "error";
|
|
632
488
|
readonly "@typescript-eslint/no-explicit-any": readonly ["error", {
|
|
633
489
|
readonly fixToUnknown: true;
|
|
634
|
-
readonly ignoreRestArgs: false;
|
|
635
490
|
}];
|
|
636
491
|
readonly "@typescript-eslint/no-extra-non-null-assertion": "error";
|
|
637
492
|
readonly "@typescript-eslint/no-extraneous-class": readonly ["error", {
|
|
638
|
-
readonly allowConstructorOnly: false;
|
|
639
493
|
readonly allowEmpty: true;
|
|
640
|
-
readonly allowStaticOnly: false;
|
|
641
|
-
readonly allowWithDecorator: false;
|
|
642
494
|
}];
|
|
643
495
|
readonly "@typescript-eslint/no-floating-promises": readonly ["error", {
|
|
644
496
|
readonly checkThenables: true;
|
|
645
|
-
readonly ignoreVoid: true;
|
|
646
|
-
readonly ignoreIIFE: false;
|
|
647
497
|
}];
|
|
648
498
|
readonly "@typescript-eslint/no-for-in-array": "error";
|
|
649
499
|
readonly "@typescript-eslint/no-import-type-side-effects": "error";
|
|
650
|
-
readonly "@typescript-eslint/no-inferrable-types":
|
|
651
|
-
|
|
652
|
-
readonly ignoreProperties: false;
|
|
653
|
-
}];
|
|
654
|
-
readonly "@typescript-eslint/no-invalid-void-type": readonly ["error", {
|
|
655
|
-
readonly allowInGenericTypeArguments: true;
|
|
656
|
-
readonly allowAsThisParameter: false;
|
|
657
|
-
}];
|
|
500
|
+
readonly "@typescript-eslint/no-inferrable-types": "error";
|
|
501
|
+
readonly "@typescript-eslint/no-invalid-void-type": "error";
|
|
658
502
|
readonly "@typescript-eslint/no-meaningless-void-operator": readonly ["error", {
|
|
659
503
|
readonly checkNever: true;
|
|
660
504
|
}];
|
|
661
505
|
readonly "@typescript-eslint/no-misused-new": "error";
|
|
662
|
-
readonly "@typescript-eslint/no-misused-promises":
|
|
663
|
-
|
|
664
|
-
readonly checksSpreads: true;
|
|
665
|
-
readonly checksVoidReturn: {
|
|
666
|
-
readonly arguments: true;
|
|
667
|
-
readonly attributes: true;
|
|
668
|
-
readonly properties: true;
|
|
669
|
-
readonly returns: true;
|
|
670
|
-
readonly variables: true;
|
|
671
|
-
};
|
|
672
|
-
}];
|
|
673
|
-
readonly "@typescript-eslint/no-misused-spread": readonly ["error", {
|
|
674
|
-
readonly allow: readonly [];
|
|
675
|
-
}];
|
|
506
|
+
readonly "@typescript-eslint/no-misused-promises": "error";
|
|
507
|
+
readonly "@typescript-eslint/no-misused-spread": "error";
|
|
676
508
|
readonly "@typescript-eslint/no-mixed-enums": "error";
|
|
677
509
|
readonly "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error";
|
|
678
510
|
readonly "@typescript-eslint/no-non-null-asserted-optional-chain": "error";
|
|
679
511
|
readonly "@typescript-eslint/no-redundant-type-constituents": "error";
|
|
680
|
-
readonly "@typescript-eslint/no-require-imports":
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
readonly "@typescript-eslint/no-
|
|
684
|
-
readonly allowDestructuring: true;
|
|
685
|
-
readonly allowedNames: readonly [];
|
|
686
|
-
}];
|
|
687
|
-
readonly "@typescript-eslint/no-unnecessary-boolean-literal-compare": readonly ["error", {
|
|
688
|
-
readonly allowComparingNullableBooleansToTrue: true;
|
|
689
|
-
readonly allowComparingNullableBooleansToFalse: true;
|
|
690
|
-
}];
|
|
691
|
-
readonly "@typescript-eslint/no-unnecessary-condition": readonly ["error", {
|
|
692
|
-
readonly allowConstantLoopConditions: "never";
|
|
693
|
-
readonly allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false;
|
|
694
|
-
}];
|
|
512
|
+
readonly "@typescript-eslint/no-require-imports": "error";
|
|
513
|
+
readonly "@typescript-eslint/no-this-alias": "error";
|
|
514
|
+
readonly "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error";
|
|
515
|
+
readonly "@typescript-eslint/no-unnecessary-condition": "error";
|
|
695
516
|
readonly "@typescript-eslint/no-unnecessary-parameter-property-assignment": "error";
|
|
696
517
|
readonly "@typescript-eslint/no-unnecessary-qualifier": "error";
|
|
697
518
|
readonly "@typescript-eslint/no-unnecessary-template-expression": "error";
|
|
698
519
|
readonly "@typescript-eslint/no-unnecessary-type-arguments": "error";
|
|
699
|
-
readonly "@typescript-eslint/no-unnecessary-type-assertion":
|
|
700
|
-
readonly checkLiteralConstAssertions: false;
|
|
701
|
-
readonly typesToIgnore: readonly [];
|
|
702
|
-
}];
|
|
520
|
+
readonly "@typescript-eslint/no-unnecessary-type-assertion": "error";
|
|
703
521
|
readonly "@typescript-eslint/no-unnecessary-type-constraint": "error";
|
|
704
522
|
readonly "@typescript-eslint/no-unnecessary-type-conversion": "error";
|
|
705
523
|
readonly "@typescript-eslint/no-unnecessary-type-parameters": "error";
|
|
@@ -723,141 +541,60 @@ export declare const rules: {
|
|
|
723
541
|
readonly "@typescript-eslint/prefer-for-of": "error";
|
|
724
542
|
readonly "@typescript-eslint/prefer-function-type": "error";
|
|
725
543
|
readonly "@typescript-eslint/prefer-includes": "error";
|
|
726
|
-
readonly "@typescript-eslint/prefer-literal-enum-member":
|
|
727
|
-
readonly allowBitwiseExpressions: false;
|
|
728
|
-
}];
|
|
544
|
+
readonly "@typescript-eslint/prefer-literal-enum-member": "error";
|
|
729
545
|
readonly "@typescript-eslint/prefer-namespace-keyword": "error";
|
|
730
|
-
readonly "@typescript-eslint/prefer-nullish-coalescing":
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
readonly ignoreConditionalTests: false;
|
|
734
|
-
readonly ignoreIfStatements: false;
|
|
735
|
-
readonly ignoreMixedLogicalExpressions: false;
|
|
736
|
-
readonly ignorePrimitives: {
|
|
737
|
-
readonly bigint: false;
|
|
738
|
-
readonly boolean: false;
|
|
739
|
-
readonly number: false;
|
|
740
|
-
readonly string: false;
|
|
741
|
-
};
|
|
742
|
-
readonly ignoreTernaryTests: false;
|
|
743
|
-
}];
|
|
744
|
-
readonly "@typescript-eslint/prefer-optional-chain": readonly ["error", {
|
|
745
|
-
readonly allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing: false;
|
|
746
|
-
readonly checkAny: true;
|
|
747
|
-
readonly checkBigInt: true;
|
|
748
|
-
readonly checkBoolean: true;
|
|
749
|
-
readonly checkNumber: true;
|
|
750
|
-
readonly checkString: true;
|
|
751
|
-
readonly checkUnknown: true;
|
|
752
|
-
readonly requireNullish: false;
|
|
753
|
-
}];
|
|
754
|
-
readonly "@typescript-eslint/prefer-readonly": readonly ["error", {
|
|
755
|
-
readonly onlyInlineLambdas: false;
|
|
756
|
-
}];
|
|
546
|
+
readonly "@typescript-eslint/prefer-nullish-coalescing": "error";
|
|
547
|
+
readonly "@typescript-eslint/prefer-optional-chain": "error";
|
|
548
|
+
readonly "@typescript-eslint/prefer-readonly": "error";
|
|
757
549
|
readonly "@typescript-eslint/prefer-reduce-type-parameter": "error";
|
|
758
550
|
readonly "@typescript-eslint/prefer-regexp-exec": "error";
|
|
759
551
|
readonly "@typescript-eslint/prefer-return-this-type": "error";
|
|
760
|
-
readonly "@typescript-eslint/prefer-string-starts-ends-with":
|
|
761
|
-
|
|
762
|
-
}];
|
|
763
|
-
readonly "@typescript-eslint/promise-function-async": readonly ["error", {
|
|
764
|
-
readonly allowAny: false;
|
|
765
|
-
readonly allowedPromiseNames: readonly [];
|
|
766
|
-
readonly checkArrowFunctions: true;
|
|
767
|
-
readonly checkFunctionDeclarations: true;
|
|
768
|
-
readonly checkFunctionExpressions: true;
|
|
769
|
-
readonly checkMethodDeclarations: true;
|
|
770
|
-
}];
|
|
552
|
+
readonly "@typescript-eslint/prefer-string-starts-ends-with": "error";
|
|
553
|
+
readonly "@typescript-eslint/promise-function-async": "error";
|
|
771
554
|
readonly "@typescript-eslint/related-getter-setter-pairs": "error";
|
|
772
|
-
readonly "@typescript-eslint/require-array-sort-compare":
|
|
773
|
-
readonly ignoreStringArrays: true;
|
|
774
|
-
}];
|
|
555
|
+
readonly "@typescript-eslint/require-array-sort-compare": "error";
|
|
775
556
|
readonly "@typescript-eslint/restrict-plus-operands": readonly ["error", {
|
|
776
557
|
readonly allowAny: false;
|
|
777
558
|
readonly allowBoolean: false;
|
|
778
559
|
readonly allowNullish: false;
|
|
779
560
|
readonly allowNumberAndString: false;
|
|
780
561
|
readonly allowRegExp: false;
|
|
781
|
-
readonly skipCompoundAssignments: false;
|
|
782
562
|
}];
|
|
783
563
|
readonly "@typescript-eslint/restrict-template-expressions": readonly ["error", {
|
|
784
|
-
readonly allowAny: true;
|
|
785
|
-
readonly allowArray: true;
|
|
786
|
-
readonly allowBoolean: true;
|
|
787
564
|
readonly allowNullish: false;
|
|
788
|
-
readonly allowNumber: true;
|
|
789
565
|
readonly allowNever: false;
|
|
790
566
|
readonly allowRegExp: false;
|
|
791
567
|
}];
|
|
792
|
-
readonly "@typescript-eslint/return-await":
|
|
568
|
+
readonly "@typescript-eslint/return-await": "error";
|
|
793
569
|
readonly "@typescript-eslint/strict-boolean-expressions": readonly ["error", {
|
|
794
|
-
readonly allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false;
|
|
795
|
-
readonly allowAny: false;
|
|
796
|
-
readonly allowNumber: true;
|
|
797
|
-
readonly allowString: false;
|
|
798
|
-
readonly allowNullableBoolean: false;
|
|
799
|
-
readonly allowNullableEnum: false;
|
|
800
|
-
readonly allowNullableNumber: false;
|
|
801
570
|
readonly allowNullableObject: false;
|
|
802
|
-
readonly
|
|
803
|
-
}];
|
|
804
|
-
readonly "@typescript-eslint/switch-exhaustiveness-check": readonly ["error", {
|
|
805
|
-
readonly allowDefaultCaseForExhaustiveSwitch: false;
|
|
806
|
-
readonly considerDefaultExhaustiveForUnions: true;
|
|
807
|
-
readonly requireDefaultForNonUnion: true;
|
|
808
|
-
}];
|
|
809
|
-
readonly "@typescript-eslint/triple-slash-reference": readonly ["error", {
|
|
810
|
-
readonly lib: "never";
|
|
811
|
-
readonly path: "never";
|
|
812
|
-
readonly types: "never";
|
|
813
|
-
}];
|
|
814
|
-
readonly "@typescript-eslint/unbound-method": readonly ["error", {
|
|
815
|
-
readonly ignoreStatic: false;
|
|
816
|
-
}];
|
|
817
|
-
readonly "@typescript-eslint/unified-signatures": readonly ["error", {
|
|
818
|
-
readonly ignoreDifferentlyNamedParameters: false;
|
|
571
|
+
readonly allowString: false;
|
|
819
572
|
}];
|
|
573
|
+
readonly "@typescript-eslint/switch-exhaustiveness-check": "error";
|
|
574
|
+
readonly "@typescript-eslint/unbound-method": "error";
|
|
575
|
+
readonly "@typescript-eslint/unified-signatures": "error";
|
|
820
576
|
readonly "@typescript-eslint/use-unknown-in-catch-callback-variable": "error";
|
|
821
577
|
};
|
|
822
578
|
} | {
|
|
823
579
|
id: "enable/extension";
|
|
824
580
|
rules: {
|
|
825
581
|
readonly "@typescript-eslint/dot-notation": readonly ["error", {
|
|
826
|
-
readonly allowKeywords: true;
|
|
827
582
|
readonly allowPrivateClassPropertyAccess: true;
|
|
828
583
|
readonly allowProtectedClassPropertyAccess: true;
|
|
829
584
|
readonly allowIndexSignaturePropertyAccess: true;
|
|
830
585
|
}];
|
|
831
586
|
readonly "@typescript-eslint/no-implied-eval": "error";
|
|
832
|
-
readonly "@typescript-eslint/no-unused-vars":
|
|
833
|
-
readonly vars: "all";
|
|
834
|
-
readonly args: "all";
|
|
835
|
-
readonly caughtErrors: "all";
|
|
836
|
-
readonly ignoreRestSiblings: false;
|
|
837
|
-
readonly ignoreClassWithStaticInitBlock: false;
|
|
838
|
-
readonly reportUsedIgnorePattern: true;
|
|
839
|
-
}];
|
|
587
|
+
readonly "@typescript-eslint/no-unused-vars": "error";
|
|
840
588
|
readonly "@typescript-eslint/only-throw-error": readonly ["error", {
|
|
841
|
-
readonly allowRethrowing: true;
|
|
842
589
|
readonly allowThrowingAny: false;
|
|
843
|
-
readonly allowThrowingUnknown: false;
|
|
844
590
|
}];
|
|
845
591
|
readonly "@typescript-eslint/prefer-destructuring": readonly ["error", {
|
|
846
|
-
readonly VariableDeclarator: {
|
|
847
|
-
readonly array: true;
|
|
848
|
-
readonly object: true;
|
|
849
|
-
};
|
|
850
592
|
readonly AssignmentExpression: {
|
|
851
593
|
readonly array: false;
|
|
852
594
|
readonly object: false;
|
|
853
595
|
};
|
|
854
|
-
}, {
|
|
855
|
-
readonly enforceForRenamedProperties: false;
|
|
856
|
-
readonly enforceForDeclarationWithTypeAnnotation: false;
|
|
857
596
|
}];
|
|
858
597
|
readonly "@typescript-eslint/prefer-promise-reject-errors": readonly ["error", {
|
|
859
|
-
readonly allowEmptyReject: false;
|
|
860
|
-
readonly allowThrowingAny: false;
|
|
861
598
|
readonly allowThrowingUnknown: true;
|
|
862
599
|
}];
|
|
863
600
|
readonly "@typescript-eslint/require-await": "error";
|
|
@@ -872,12 +609,8 @@ export declare const rules: {
|
|
|
872
609
|
} | {
|
|
873
610
|
id: "enable";
|
|
874
611
|
rules: {
|
|
875
|
-
readonly "mocha/handle-done-callback":
|
|
876
|
-
|
|
877
|
-
}];
|
|
878
|
-
readonly "mocha/max-top-level-suites": readonly ["error", {
|
|
879
|
-
readonly limit: 1;
|
|
880
|
-
}];
|
|
612
|
+
readonly "mocha/handle-done-callback": "error";
|
|
613
|
+
readonly "mocha/max-top-level-suites": "error";
|
|
881
614
|
readonly "mocha/no-async-suite": "error";
|
|
882
615
|
readonly "mocha/no-empty-title": "error";
|
|
883
616
|
readonly "mocha/no-exclusive-tests": "error";
|
|
@@ -891,10 +624,7 @@ export declare const rules: {
|
|
|
891
624
|
readonly "mocha/no-return-from-async": "error";
|
|
892
625
|
readonly "mocha/no-sibling-hooks": "error";
|
|
893
626
|
readonly "mocha/no-top-level-hooks": "error";
|
|
894
|
-
readonly "mocha/prefer-arrow-callback":
|
|
895
|
-
readonly allowNamedFunctions: false;
|
|
896
|
-
readonly allowUnboundThis: true;
|
|
897
|
-
}];
|
|
627
|
+
readonly "mocha/prefer-arrow-callback": "error";
|
|
898
628
|
};
|
|
899
629
|
} | {
|
|
900
630
|
id: string;
|
|
@@ -902,8 +632,6 @@ export declare const rules: {
|
|
|
902
632
|
readonly "chai-friendly/no-unused-expressions": readonly ["error", {
|
|
903
633
|
readonly allowShortCircuit: true;
|
|
904
634
|
readonly allowTernary: true;
|
|
905
|
-
readonly allowTaggedTemplates: true;
|
|
906
|
-
readonly enforceForJSX: false;
|
|
907
635
|
}];
|
|
908
636
|
};
|
|
909
637
|
} | {
|
|
@@ -943,67 +671,40 @@ export declare const rules: {
|
|
|
943
671
|
readonly "svelte/no-not-function-handler": "error";
|
|
944
672
|
readonly "svelte/no-object-in-text-mustaches": "error";
|
|
945
673
|
readonly "svelte/no-raw-special-elements": "error";
|
|
946
|
-
readonly "svelte/no-reactive-reassign":
|
|
947
|
-
readonly props: true;
|
|
948
|
-
}];
|
|
674
|
+
readonly "svelte/no-reactive-reassign": "error";
|
|
949
675
|
readonly "svelte/no-shorthand-style-property-overrides": "error";
|
|
950
676
|
readonly "svelte/no-store-async": "error";
|
|
951
677
|
readonly "svelte/no-top-level-browser-globals": "error";
|
|
952
|
-
readonly "svelte/no-unknown-style-directive-property":
|
|
953
|
-
readonly ignorePrefixed: true;
|
|
954
|
-
}];
|
|
678
|
+
readonly "svelte/no-unknown-style-directive-property": "error";
|
|
955
679
|
readonly "svelte/prefer-svelte-reactivity": "error";
|
|
956
680
|
readonly "svelte/require-store-callbacks-use-set-param": "error";
|
|
957
681
|
readonly "svelte/require-store-reactive-access": "error";
|
|
958
|
-
readonly "svelte/valid-compile":
|
|
959
|
-
readonly ignoreWarnings: false;
|
|
960
|
-
}];
|
|
682
|
+
readonly "svelte/valid-compile": "error";
|
|
961
683
|
readonly "svelte/valid-style-parse": "error";
|
|
962
684
|
readonly "svelte/no-at-html-tags": "error";
|
|
963
|
-
readonly "svelte/no-target-blank":
|
|
964
|
-
readonly allowReferrer: false;
|
|
965
|
-
readonly enforceDynamicLinks: "always";
|
|
966
|
-
}];
|
|
685
|
+
readonly "svelte/no-target-blank": "error";
|
|
967
686
|
readonly "svelte/block-lang": readonly ["error", {
|
|
968
|
-
readonly enforceScriptPresent: true;
|
|
969
|
-
readonly enforceStylePresent: false;
|
|
970
687
|
readonly script: readonly ["ts"];
|
|
971
|
-
readonly style: readonly ["css"
|
|
972
|
-
}];
|
|
973
|
-
readonly "svelte/button-has-type": readonly ["error", {
|
|
974
|
-
readonly button: true;
|
|
975
|
-
readonly submit: true;
|
|
976
|
-
readonly reset: true;
|
|
688
|
+
readonly style: readonly ["css"];
|
|
977
689
|
}];
|
|
690
|
+
readonly "svelte/button-has-type": "error";
|
|
978
691
|
readonly "svelte/no-add-event-listener": "error";
|
|
979
692
|
readonly "svelte/no-at-debug-tags": "error";
|
|
980
693
|
readonly "svelte/no-ignored-unsubscribe": "error";
|
|
981
694
|
readonly "svelte/no-immutable-reactive-statements": "error";
|
|
982
|
-
readonly "svelte/no-inline-styles":
|
|
983
|
-
readonly allowTransitions: false;
|
|
984
|
-
}];
|
|
695
|
+
readonly "svelte/no-inline-styles": "error";
|
|
985
696
|
readonly "svelte/no-reactive-functions": "error";
|
|
986
697
|
readonly "svelte/no-reactive-literals": "error";
|
|
987
698
|
readonly "svelte/no-svelte-internal": "error";
|
|
988
|
-
readonly "svelte/no-unnecessary-state-wrap":
|
|
989
|
-
readonly additionalReactiveClasses: readonly [];
|
|
990
|
-
readonly allowReassign: false;
|
|
991
|
-
}];
|
|
699
|
+
readonly "svelte/no-unnecessary-state-wrap": "error";
|
|
992
700
|
readonly "svelte/no-unused-props": readonly ["error", {
|
|
993
701
|
readonly checkImportedTypes: true;
|
|
994
|
-
readonly ignorePropertyPatterns: readonly [];
|
|
995
|
-
readonly ignoreTypePatterns: readonly [];
|
|
996
|
-
readonly allowUnusedNestedProperties: false;
|
|
997
702
|
}];
|
|
998
703
|
readonly "svelte/no-unused-svelte-ignore": "error";
|
|
999
704
|
readonly "svelte/no-useless-children-snippet": "error";
|
|
1000
|
-
readonly "svelte/no-useless-mustaches":
|
|
1001
|
-
readonly ignoreIncludesComment: false;
|
|
1002
|
-
readonly ignoreStringEscape: false;
|
|
1003
|
-
}];
|
|
705
|
+
readonly "svelte/no-useless-mustaches": "error";
|
|
1004
706
|
readonly "svelte/prefer-const": readonly ["error", {
|
|
1005
707
|
readonly destructuring: "all";
|
|
1006
|
-
readonly ignoreReadBeforeAssign: false;
|
|
1007
708
|
}];
|
|
1008
709
|
readonly "svelte/prefer-destructured-store-props": "error";
|
|
1009
710
|
readonly "svelte/prefer-writable-derived": "error";
|
|
@@ -1014,98 +715,48 @@ export declare const rules: {
|
|
|
1014
715
|
readonly "svelte/valid-each-key": "error";
|
|
1015
716
|
readonly "svelte/consistent-selector-style": readonly ["error", {
|
|
1016
717
|
readonly checkGlobal: true;
|
|
1017
|
-
readonly style: readonly ["type", "id", "class"];
|
|
1018
718
|
}];
|
|
1019
719
|
readonly "svelte/derived-has-same-inputs-outputs": "error";
|
|
1020
720
|
readonly "svelte/first-attribute-linebreak": readonly ["error", {
|
|
1021
|
-
readonly multiline: "below";
|
|
1022
721
|
readonly singleline: "below";
|
|
1023
722
|
}];
|
|
1024
|
-
readonly "svelte/html-closing-bracket-new-line":
|
|
1025
|
-
readonly singleline: "never";
|
|
1026
|
-
readonly multiline: "always";
|
|
1027
|
-
readonly selfClosingTag: {
|
|
1028
|
-
readonly singleline: "never";
|
|
1029
|
-
readonly multiline: "always";
|
|
1030
|
-
};
|
|
1031
|
-
}];
|
|
723
|
+
readonly "svelte/html-closing-bracket-new-line": "error";
|
|
1032
724
|
readonly "svelte/html-closing-bracket-spacing": readonly ["error", {
|
|
1033
|
-
readonly startTag: "never";
|
|
1034
|
-
readonly endTag: "never";
|
|
1035
725
|
readonly selfClosingTag: "never";
|
|
1036
726
|
}];
|
|
1037
727
|
readonly "svelte/html-quotes": readonly ["error", {
|
|
1038
728
|
readonly prefer: "double";
|
|
1039
729
|
readonly dynamic: {
|
|
1040
|
-
readonly quoted: false;
|
|
1041
730
|
readonly avoidInvalidUnquotedInHTML: true;
|
|
1042
731
|
};
|
|
1043
732
|
}];
|
|
1044
|
-
readonly "svelte/html-self-closing":
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
readonly normal: "ignore";
|
|
1049
|
-
}];
|
|
1050
|
-
readonly "svelte/indent": readonly ["error", {
|
|
1051
|
-
readonly indent: 2;
|
|
1052
|
-
readonly indentScript: true;
|
|
1053
|
-
readonly ignoredNodes: readonly [];
|
|
1054
|
-
readonly switchCase: 1;
|
|
1055
|
-
readonly alignAttributesVertically: false;
|
|
1056
|
-
}];
|
|
1057
|
-
readonly "svelte/max-attributes-per-line": readonly ["error", {
|
|
1058
|
-
readonly multiline: 1;
|
|
1059
|
-
readonly singleline: 1;
|
|
1060
|
-
}];
|
|
1061
|
-
readonly "svelte/mustache-spacing": readonly ["error", {
|
|
1062
|
-
readonly textExpressions: "never";
|
|
1063
|
-
readonly attributesAndProps: "never";
|
|
1064
|
-
readonly directiveExpressions: "never";
|
|
1065
|
-
readonly tags: {
|
|
1066
|
-
readonly openingBrace: "never";
|
|
1067
|
-
readonly closingBrace: "never";
|
|
1068
|
-
};
|
|
1069
|
-
}];
|
|
733
|
+
readonly "svelte/html-self-closing": "error";
|
|
734
|
+
readonly "svelte/indent": "error";
|
|
735
|
+
readonly "svelte/max-attributes-per-line": "error";
|
|
736
|
+
readonly "svelte/mustache-spacing": "error";
|
|
1070
737
|
readonly "svelte/no-extra-reactive-curlies": "error";
|
|
1071
738
|
readonly "svelte/no-spaces-around-equal-signs-in-attribute": "error";
|
|
1072
739
|
readonly "svelte/prefer-class-directive": readonly ["error", {
|
|
1073
740
|
readonly prefer: "empty";
|
|
1074
741
|
}];
|
|
1075
742
|
readonly "svelte/prefer-style-directive": "error";
|
|
1076
|
-
readonly "svelte/require-event-prefix":
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
readonly "svelte/
|
|
1080
|
-
readonly prefer: "always";
|
|
1081
|
-
}];
|
|
1082
|
-
readonly "svelte/shorthand-directive": readonly ["error", {
|
|
1083
|
-
readonly prefer: "always";
|
|
1084
|
-
}];
|
|
1085
|
-
readonly "svelte/spaced-html-comment": readonly ["error", "always"];
|
|
743
|
+
readonly "svelte/require-event-prefix": "error";
|
|
744
|
+
readonly "svelte/shorthand-attribute": "error";
|
|
745
|
+
readonly "svelte/shorthand-directive": "error";
|
|
746
|
+
readonly "svelte/spaced-html-comment": "error";
|
|
1086
747
|
readonly "svelte/no-export-load-in-svelte-module-in-kit-pages": "error";
|
|
1087
748
|
readonly "svelte/no-navigation-without-base": readonly ["error", {
|
|
1088
|
-
readonly ignoreGoto: false;
|
|
1089
749
|
readonly ignoreLinks: true;
|
|
1090
|
-
readonly ignorePushState: false;
|
|
1091
|
-
readonly ignoreReplaceState: false;
|
|
1092
750
|
}];
|
|
1093
751
|
readonly "svelte/valid-prop-names-in-kit-pages": "error";
|
|
1094
|
-
readonly "svelte/comment-directive":
|
|
1095
|
-
readonly reportUnusedDisableDirectives: true;
|
|
1096
|
-
}];
|
|
752
|
+
readonly "svelte/comment-directive": "error";
|
|
1097
753
|
readonly "svelte/system": "error";
|
|
1098
754
|
};
|
|
1099
755
|
} | {
|
|
1100
756
|
id: "enable/extension";
|
|
1101
757
|
rules: {
|
|
1102
|
-
readonly "svelte/no-inner-declarations": readonly ["error", "both"
|
|
1103
|
-
|
|
1104
|
-
}];
|
|
1105
|
-
readonly "svelte/no-trailing-spaces": readonly ["error", {
|
|
1106
|
-
readonly skipBlankLines: false;
|
|
1107
|
-
readonly ignoreComments: false;
|
|
1108
|
-
}];
|
|
758
|
+
readonly "svelte/no-inner-declarations": readonly ["error", "both"];
|
|
759
|
+
readonly "svelte/no-trailing-spaces": "error";
|
|
1109
760
|
};
|
|
1110
761
|
})[];
|
|
1111
762
|
html: {
|
|
@@ -1214,20 +865,12 @@ export declare const rules: {
|
|
|
1214
865
|
} | {
|
|
1215
866
|
id: "enable/plugin/extension";
|
|
1216
867
|
rules: {
|
|
1217
|
-
readonly "jsonc/array-bracket-spacing":
|
|
1218
|
-
readonly singleValue: false;
|
|
1219
|
-
readonly objectsInArrays: false;
|
|
1220
|
-
readonly arraysInArrays: false;
|
|
1221
|
-
}];
|
|
868
|
+
readonly "jsonc/array-bracket-spacing": "error";
|
|
1222
869
|
readonly "jsonc/array-element-newline": readonly ["error", "consistent"];
|
|
1223
|
-
readonly "jsonc/comma-dangle":
|
|
1224
|
-
readonly "jsonc/comma-style":
|
|
870
|
+
readonly "jsonc/comma-dangle": "error";
|
|
871
|
+
readonly "jsonc/comma-style": "error";
|
|
1225
872
|
readonly "jsonc/indent": readonly ["error", 2];
|
|
1226
|
-
readonly "jsonc/key-spacing":
|
|
1227
|
-
readonly beforeColon: false;
|
|
1228
|
-
readonly afterColon: true;
|
|
1229
|
-
readonly mode: "strict";
|
|
1230
|
-
}];
|
|
873
|
+
readonly "jsonc/key-spacing": "error";
|
|
1231
874
|
readonly "jsonc/no-floating-decimal": "error";
|
|
1232
875
|
readonly "jsonc/no-irregular-whitespace": readonly ["error", {
|
|
1233
876
|
readonly skipStrings: true;
|
|
@@ -1246,15 +889,10 @@ export declare const rules: {
|
|
|
1246
889
|
readonly multiline: true;
|
|
1247
890
|
readonly minProperties: 2;
|
|
1248
891
|
}];
|
|
1249
|
-
readonly "jsonc/object-curly-spacing": readonly ["error", "always"
|
|
1250
|
-
readonly arraysInObjects: true;
|
|
1251
|
-
readonly objectsInObjects: true;
|
|
1252
|
-
}];
|
|
892
|
+
readonly "jsonc/object-curly-spacing": readonly ["error", "always"];
|
|
1253
893
|
readonly "jsonc/object-property-newline": "error";
|
|
1254
|
-
readonly "jsonc/quote-props":
|
|
1255
|
-
readonly "jsonc/quotes":
|
|
1256
|
-
readonly avoidEscape: false;
|
|
1257
|
-
}];
|
|
894
|
+
readonly "jsonc/quote-props": "error";
|
|
895
|
+
readonly "jsonc/quotes": "error";
|
|
1258
896
|
readonly "jsonc/space-unary-ops": "error";
|
|
1259
897
|
};
|
|
1260
898
|
})[];
|
|
@@ -1273,34 +911,20 @@ export declare const rules: {
|
|
|
1273
911
|
yml: ({
|
|
1274
912
|
id: "enable/plugin";
|
|
1275
913
|
rules: {
|
|
1276
|
-
readonly "yml/block-mapping-colon-indicator-newline":
|
|
1277
|
-
readonly "yml/block-mapping-question-indicator-newline":
|
|
1278
|
-
readonly "yml/block-mapping":
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
}];
|
|
1282
|
-
readonly "yml/block-sequence-hyphen-indicator-newline": readonly ["error", "never", {
|
|
1283
|
-
readonly nestedHyphen: "always";
|
|
1284
|
-
readonly blockMapping: "never";
|
|
1285
|
-
}];
|
|
1286
|
-
readonly "yml/block-sequence": readonly ["error", {
|
|
1287
|
-
readonly singleline: "ignore";
|
|
1288
|
-
readonly multiline: "always";
|
|
1289
|
-
}];
|
|
914
|
+
readonly "yml/block-mapping-colon-indicator-newline": "error";
|
|
915
|
+
readonly "yml/block-mapping-question-indicator-newline": "error";
|
|
916
|
+
readonly "yml/block-mapping": "error";
|
|
917
|
+
readonly "yml/block-sequence-hyphen-indicator-newline": "error";
|
|
918
|
+
readonly "yml/block-sequence": "error";
|
|
1290
919
|
readonly "yml/indent": readonly ["error", 2, {
|
|
1291
920
|
readonly alignMultilineFlowScalars: true;
|
|
1292
|
-
readonly indentBlockSequences: true;
|
|
1293
|
-
readonly indicatorValueIndent: 2;
|
|
1294
921
|
}];
|
|
1295
922
|
readonly "yml/no-empty-key": "error";
|
|
1296
923
|
readonly "yml/no-empty-sequence-entry": "error";
|
|
1297
924
|
readonly "yml/no-tab-indent": "error";
|
|
1298
925
|
readonly "yml/no-trailing-zeros": "error";
|
|
1299
|
-
readonly "yml/plain-scalar":
|
|
1300
|
-
readonly "yml/quotes":
|
|
1301
|
-
readonly prefer: "double";
|
|
1302
|
-
readonly avoidEscape: true;
|
|
1303
|
-
}];
|
|
926
|
+
readonly "yml/plain-scalar": "error";
|
|
927
|
+
readonly "yml/quotes": "error";
|
|
1304
928
|
readonly "yml/require-string-key": "error";
|
|
1305
929
|
readonly "yml/vue-custom-block/no-parsing-error": "error";
|
|
1306
930
|
};
|
|
@@ -1312,28 +936,11 @@ export declare const rules: {
|
|
|
1312
936
|
readonly multiline: true;
|
|
1313
937
|
readonly minProperties: 2;
|
|
1314
938
|
}];
|
|
1315
|
-
readonly "yml/flow-mapping-curly-spacing": readonly ["error", "always"
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
readonly "yml/
|
|
1320
|
-
readonly multiline: true;
|
|
1321
|
-
readonly minItems: null;
|
|
1322
|
-
}];
|
|
1323
|
-
readonly "yml/flow-sequence-bracket-spacing": readonly ["error", "never", {
|
|
1324
|
-
readonly singleValue: false;
|
|
1325
|
-
readonly objectsInArrays: false;
|
|
1326
|
-
readonly arraysInArrays: false;
|
|
1327
|
-
}];
|
|
1328
|
-
readonly "yml/key-spacing": readonly ["error", {
|
|
1329
|
-
readonly beforeColon: false;
|
|
1330
|
-
readonly afterColon: true;
|
|
1331
|
-
readonly mode: "strict";
|
|
1332
|
-
}];
|
|
1333
|
-
readonly "yml/no-irregular-whitespace": readonly ["error", {
|
|
1334
|
-
readonly skipQuotedScalars: true;
|
|
1335
|
-
readonly skipComments: false;
|
|
1336
|
-
}];
|
|
939
|
+
readonly "yml/flow-mapping-curly-spacing": readonly ["error", "always"];
|
|
940
|
+
readonly "yml/flow-sequence-bracket-newline": "error";
|
|
941
|
+
readonly "yml/flow-sequence-bracket-spacing": "error";
|
|
942
|
+
readonly "yml/key-spacing": "error";
|
|
943
|
+
readonly "yml/no-irregular-whitespace": "error";
|
|
1337
944
|
readonly "yml/no-multiple-empty-lines": readonly ["error", {
|
|
1338
945
|
readonly max: 1;
|
|
1339
946
|
readonly maxBOF: 0;
|