@eslinted/defaults 18.0.3 → 19.0.0-rc.0

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.
Files changed (37) hide show
  1. package/dist/index.d.ts +3 -266
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/rules/index.d.ts +3 -266
  4. package/dist/rules/index.d.ts.map +1 -1
  5. package/dist/rules/js.d.ts +2 -264
  6. package/dist/rules/js.d.ts.map +1 -1
  7. package/dist/rules/js.js +1 -5
  8. package/dist/rules/js.js.map +1 -1
  9. package/dist/rules/svelte/disable.d.ts +0 -1
  10. package/dist/rules/svelte/disable.d.ts.map +1 -1
  11. package/dist/rules/svelte/disable.js +0 -1
  12. package/dist/rules/svelte/disable.js.map +1 -1
  13. package/dist/rules/svelte/extend.d.ts +0 -1
  14. package/dist/rules/svelte/extend.d.ts.map +1 -1
  15. package/dist/rules/svelte/extend.js +0 -1
  16. package/dist/rules/svelte/extend.js.map +1 -1
  17. package/dist/rules/svelte/index.d.ts +0 -2
  18. package/dist/rules/svelte/index.d.ts.map +1 -1
  19. package/dist/rules/ts/index.d.ts +1 -0
  20. package/dist/rules/ts/index.d.ts.map +1 -1
  21. package/dist/rules/ts/ts.d.ts +1 -0
  22. package/dist/rules/ts/ts.d.ts.map +1 -1
  23. package/dist/rules/ts/ts.js +1 -0
  24. package/dist/rules/ts/ts.js.map +1 -1
  25. package/package.json +1 -1
  26. package/src/rules/js.ts +1 -5
  27. package/src/rules/json/plugin/extend.ts +7 -7
  28. package/src/rules/svelte/disable.ts +0 -1
  29. package/src/rules/svelte/extend.ts +1 -2
  30. package/src/rules/svelte/svelte.ts +1 -1
  31. package/src/rules/ts/ts.ts +1 -1
  32. package/src/rules/yml/extend.ts +4 -4
  33. package/dist/rules/js.stylistic.d.ts +0 -266
  34. package/dist/rules/js.stylistic.d.ts.map +0 -1
  35. package/dist/rules/js.stylistic.js +0 -260
  36. package/dist/rules/js.stylistic.js.map +0 -1
  37. package/src/rules/js.stylistic.ts +0 -269
package/dist/index.d.ts CHANGED
@@ -16,7 +16,7 @@ declare const _default: {
16
16
  json: string[];
17
17
  };
18
18
  rules: {
19
- js: ({
19
+ js: {
20
20
  rules: {
21
21
  readonly "array-callback-return": readonly [
22
22
  import("./rules/state.js").State.ON,
@@ -304,269 +304,7 @@ declare const _default: {
304
304
  readonly yoda: import("./rules/state.js").State.WARN;
305
305
  readonly "unicode-bom": import("./rules/state.js").State.WARN;
306
306
  };
307
- } | {
308
- rules: {
309
- readonly "stylistic/array-bracket-newline": import("./rules/state.js").State.WARN;
310
- readonly "stylistic/array-bracket-spacing": import("./rules/state.js").State.WARN;
311
- readonly "stylistic/array-element-newline": readonly [
312
- import("./rules/state.js").State.WARN,
313
- {
314
- readonly consistent: true;
315
- readonly multiline: true;
316
- readonly minItems: 3;
317
- }
318
- ];
319
- readonly "stylistic/arrow-parens": readonly [
320
- import("./rules/state.js").State.WARN,
321
- "as-needed"
322
- ];
323
- readonly "stylistic/arrow-spacing": import("./rules/state.js").State.WARN;
324
- readonly "stylistic/block-spacing": import("./rules/state.js").State.WARN;
325
- readonly "stylistic/brace-style": readonly [
326
- import("./rules/state.js").State.WARN,
327
- "stroustrup",
328
- {
329
- readonly allowSingleLine: true;
330
- }
331
- ];
332
- readonly "stylistic/comma-dangle": readonly [
333
- import("./rules/state.js").State.WARN,
334
- "always-multiline"
335
- ];
336
- readonly "stylistic/comma-spacing": import("./rules/state.js").State.WARN;
337
- readonly "stylistic/comma-style": import("./rules/state.js").State.WARN;
338
- readonly "stylistic/computed-property-spacing": import("./rules/state.js").State.WARN;
339
- readonly "stylistic/curly-newline": import("./rules/state.js").State.WARN;
340
- readonly "stylistic/dot-location": readonly [
341
- import("./rules/state.js").State.WARN,
342
- "property"
343
- ];
344
- readonly "stylistic/eol-last": import("./rules/state.js").State.WARN;
345
- readonly "stylistic/function-call-argument-newline": readonly [
346
- import("./rules/state.js").State.WARN,
347
- "consistent"
348
- ];
349
- readonly "stylistic/function-call-spacing": import("./rules/state.js").State.WARN;
350
- readonly "stylistic/function-paren-newline": readonly [
351
- import("./rules/state.js").State.WARN,
352
- "multiline-arguments"
353
- ];
354
- readonly "stylistic/generator-star-spacing": import("./rules/state.js").State.WARN;
355
- readonly "stylistic/implicit-arrow-linebreak": import("./rules/state.js").State.WARN;
356
- readonly "stylistic/indent": readonly [
357
- import("./rules/state.js").State.WARN,
358
- 2,
359
- {
360
- readonly assignmentOperator: 0;
361
- readonly VariableDeclarator: {
362
- readonly var: 0;
363
- readonly let: 0;
364
- readonly const: 0;
365
- };
366
- readonly outerIIFEBody: 0;
367
- readonly offsetTernaryExpressions: true;
368
- }
369
- ];
370
- readonly "stylistic/indent-binary-ops": readonly [
371
- import("./rules/state.js").State.WARN,
372
- 2
373
- ];
374
- readonly "stylistic/key-spacing": import("./rules/state.js").State.WARN;
375
- readonly "stylistic/keyword-spacing": import("./rules/state.js").State.WARN;
376
- readonly "stylistic/linebreak-style": import("./rules/state.js").State.WARN;
377
- readonly "stylistic/lines-between-class-members": readonly [
378
- import("./rules/state.js").State.WARN,
379
- {
380
- readonly enforce: readonly [
381
- {
382
- readonly prev: "field";
383
- readonly next: "field";
384
- readonly blankLine: "never";
385
- },
386
- {
387
- readonly prev: "field";
388
- readonly next: "method";
389
- readonly blankLine: "always";
390
- },
391
- {
392
- readonly prev: "method";
393
- readonly next: "*";
394
- readonly blankLine: "always";
395
- }
396
- ];
397
- }
398
- ];
399
- readonly "stylistic/max-len": readonly [
400
- import("./rules/state.js").State.WARN,
401
- {
402
- readonly code: 300;
403
- readonly ignoreComments: true;
404
- readonly ignoreTrailingComments: true;
405
- readonly ignoreUrls: true;
406
- readonly ignoreStrings: true;
407
- readonly ignoreTemplateLiterals: true;
408
- readonly ignoreRegExpLiterals: true;
409
- }
410
- ];
411
- readonly "stylistic/max-statements-per-line": import("./rules/state.js").State.WARN;
412
- readonly "stylistic/member-delimiter-style": import("./rules/state.js").State.WARN;
413
- readonly "stylistic/multiline-ternary": readonly [
414
- import("./rules/state.js").State.WARN,
415
- "always-multiline"
416
- ];
417
- readonly "stylistic/newline-per-chained-call": import("./rules/state.js").State.WARN;
418
- readonly "stylistic/no-extra-parens": import("./rules/state.js").State.WARN;
419
- readonly "stylistic/no-extra-semi": import("./rules/state.js").State.WARN;
420
- readonly "stylistic/no-floating-decimal": import("./rules/state.js").State.WARN;
421
- readonly "stylistic/no-mixed-spaces-and-tabs": import("./rules/state.js").State.WARN;
422
- readonly "stylistic/no-multi-spaces": readonly [
423
- import("./rules/state.js").State.WARN,
424
- {
425
- readonly exceptions: {
426
- readonly Property: false;
427
- readonly ImportAttributes: false;
428
- };
429
- }
430
- ];
431
- readonly "stylistic/no-multiple-empty-lines": readonly [
432
- import("./rules/state.js").State.WARN,
433
- {
434
- readonly max: 1;
435
- readonly maxBOF: 0;
436
- readonly maxEOF: 0;
437
- }
438
- ];
439
- readonly "stylistic/no-tabs": import("./rules/state.js").State.WARN;
440
- readonly "stylistic/no-trailing-spaces": import("./rules/state.js").State.WARN;
441
- readonly "stylistic/no-whitespace-before-property": import("./rules/state.js").State.WARN;
442
- readonly "stylistic/nonblock-statement-body-position": readonly [
443
- import("./rules/state.js").State.WARN,
444
- "below"
445
- ];
446
- readonly "stylistic/object-curly-newline": readonly [
447
- import("./rules/state.js").State.WARN,
448
- {
449
- readonly consistent: true;
450
- readonly multiline: true;
451
- readonly minProperties: 3;
452
- }
453
- ];
454
- readonly "stylistic/object-curly-spacing": readonly [
455
- import("./rules/state.js").State.WARN,
456
- "always",
457
- {
458
- readonly emptyObjects: "never";
459
- }
460
- ];
461
- readonly "stylistic/object-property-newline": import("./rules/state.js").State.WARN;
462
- readonly "stylistic/one-var-declaration-per-line": readonly [
463
- import("./rules/state.js").State.WARN,
464
- "always"
465
- ];
466
- readonly "stylistic/operator-linebreak": readonly [
467
- import("./rules/state.js").State.WARN,
468
- "before"
469
- ];
470
- readonly "stylistic/padded-blocks": readonly [
471
- import("./rules/state.js").State.WARN,
472
- "never",
473
- {
474
- readonly allowSingleLineBlocks: true;
475
- }
476
- ];
477
- readonly "stylistic/quote-props": readonly [
478
- import("./rules/state.js").State.WARN,
479
- "as-needed",
480
- {
481
- readonly keywords: true;
482
- }
483
- ];
484
- readonly "stylistic/quotes": readonly [
485
- import("./rules/state.js").State.WARN,
486
- "double",
487
- {
488
- readonly avoidEscape: true;
489
- readonly allowTemplateLiterals: "always";
490
- }
491
- ];
492
- readonly "stylistic/rest-spread-spacing": import("./rules/state.js").State.WARN;
493
- readonly "stylistic/semi": import("./rules/state.js").State.WARN;
494
- readonly "stylistic/semi-spacing": import("./rules/state.js").State.WARN;
495
- readonly "stylistic/semi-style": import("./rules/state.js").State.WARN;
496
- readonly "stylistic/space-before-blocks": import("./rules/state.js").State.WARN;
497
- readonly "stylistic/space-before-function-paren": readonly [
498
- import("./rules/state.js").State.WARN,
499
- {
500
- readonly named: "never";
501
- }
502
- ];
503
- readonly "stylistic/space-in-parens": import("./rules/state.js").State.WARN;
504
- readonly "stylistic/space-infix-ops": import("./rules/state.js").State.WARN;
505
- readonly "stylistic/space-unary-ops": import("./rules/state.js").State.WARN;
506
- readonly "stylistic/spaced-comment": readonly [
507
- import("./rules/state.js").State.WARN,
508
- "always",
509
- {
510
- readonly line: {
511
- readonly exceptions: readonly [
512
- "/",
513
- "-",
514
- "+",
515
- "="
516
- ];
517
- readonly markers: readonly [
518
- "!",
519
- "@",
520
- "#",
521
- "/",
522
- "#region",
523
- "#endregion",
524
- "#part",
525
- "/#region",
526
- "/#endregion",
527
- "/#part"
528
- ];
529
- };
530
- readonly block: {
531
- readonly exceptions: readonly [
532
- "*"
533
- ];
534
- readonly markers: readonly [
535
- "*"
536
- ];
537
- readonly balanced: true;
538
- };
539
- }
540
- ];
541
- readonly "stylistic/switch-colon-spacing": import("./rules/state.js").State.WARN;
542
- readonly "stylistic/template-curly-spacing": import("./rules/state.js").State.WARN;
543
- readonly "stylistic/template-tag-spacing": import("./rules/state.js").State.WARN;
544
- readonly "stylistic/type-annotation-spacing": readonly [
545
- import("./rules/state.js").State.WARN,
546
- {
547
- readonly before: true;
548
- readonly after: true;
549
- readonly overrides: {
550
- readonly colon: {
551
- readonly before: false;
552
- readonly after: true;
553
- };
554
- };
555
- }
556
- ];
557
- readonly "stylistic/type-generic-spacing": import("./rules/state.js").State.WARN;
558
- readonly "stylistic/type-named-tuple-spacing": import("./rules/state.js").State.WARN;
559
- readonly "stylistic/wrap-iife": readonly [
560
- import("./rules/state.js").State.WARN,
561
- "inside",
562
- {
563
- readonly functionPrototypeMethods: true;
564
- }
565
- ];
566
- readonly "stylistic/wrap-regex": import("./rules/state.js").State.WARN;
567
- readonly "stylistic/yield-star-spacing": import("./rules/state.js").State.WARN;
568
- };
569
- })[];
307
+ }[];
570
308
  ts: ({
571
309
  rules: {
572
310
  readonly "consistent-return": import("./rules/state.js").State.OFF;
@@ -692,6 +430,7 @@ declare const _default: {
692
430
  readonly "ts/no-unsafe-return": import("./rules/state.js").State.ON;
693
431
  readonly "ts/no-unsafe-unary-minus": import("./rules/state.js").State.ON;
694
432
  readonly "ts/no-unused-private-class-members": import("./rules/state.js").State.WARN;
433
+ readonly "ts/no-useless-default-assignment": import("./rules/state.js").State.WARN;
695
434
  readonly "ts/no-useless-empty-export": import("./rules/state.js").State.WARN;
696
435
  readonly "ts/no-wrapper-object-types": import("./rules/state.js").State.ON;
697
436
  readonly "ts/parameter-properties": readonly [
@@ -819,7 +558,6 @@ declare const _default: {
819
558
  readonly "no-unused-vars": import("./rules/state.js").State.OFF;
820
559
  readonly "ts/no-unused-vars": import("./rules/state.js").State.OFF;
821
560
  readonly "prefer-const": import("./rules/state.js").State.OFF;
822
- readonly "stylistic/indent": import("./rules/state.js").State.OFF;
823
561
  readonly "ts/no-confusing-void-expression": import("./rules/state.js").State.OFF;
824
562
  };
825
563
  } | {
@@ -938,7 +676,6 @@ declare const _default: {
938
676
  import("./rules/state.js").State.ON,
939
677
  "both"
940
678
  ];
941
- readonly "stylistic/no-trailing-spaces": import("./rules/state.js").State.OFF;
942
679
  readonly "svelte/no-trailing-spaces": import("./rules/state.js").State.WARN;
943
680
  };
944
681
  })[];
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIE"}
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- js: ({
2
+ js: {
3
3
  rules: {
4
4
  readonly "array-callback-return": readonly [
5
5
  import("./state.js").State.ON,
@@ -287,269 +287,7 @@ declare const _default: {
287
287
  readonly yoda: import("./state.js").State.WARN;
288
288
  readonly "unicode-bom": import("./state.js").State.WARN;
289
289
  };
290
- } | {
291
- rules: {
292
- readonly "stylistic/array-bracket-newline": import("./state.js").State.WARN;
293
- readonly "stylistic/array-bracket-spacing": import("./state.js").State.WARN;
294
- readonly "stylistic/array-element-newline": readonly [
295
- import("./state.js").State.WARN,
296
- {
297
- readonly consistent: true;
298
- readonly multiline: true;
299
- readonly minItems: 3;
300
- }
301
- ];
302
- readonly "stylistic/arrow-parens": readonly [
303
- import("./state.js").State.WARN,
304
- "as-needed"
305
- ];
306
- readonly "stylistic/arrow-spacing": import("./state.js").State.WARN;
307
- readonly "stylistic/block-spacing": import("./state.js").State.WARN;
308
- readonly "stylistic/brace-style": readonly [
309
- import("./state.js").State.WARN,
310
- "stroustrup",
311
- {
312
- readonly allowSingleLine: true;
313
- }
314
- ];
315
- readonly "stylistic/comma-dangle": readonly [
316
- import("./state.js").State.WARN,
317
- "always-multiline"
318
- ];
319
- readonly "stylistic/comma-spacing": import("./state.js").State.WARN;
320
- readonly "stylistic/comma-style": import("./state.js").State.WARN;
321
- readonly "stylistic/computed-property-spacing": import("./state.js").State.WARN;
322
- readonly "stylistic/curly-newline": import("./state.js").State.WARN;
323
- readonly "stylistic/dot-location": readonly [
324
- import("./state.js").State.WARN,
325
- "property"
326
- ];
327
- readonly "stylistic/eol-last": import("./state.js").State.WARN;
328
- readonly "stylistic/function-call-argument-newline": readonly [
329
- import("./state.js").State.WARN,
330
- "consistent"
331
- ];
332
- readonly "stylistic/function-call-spacing": import("./state.js").State.WARN;
333
- readonly "stylistic/function-paren-newline": readonly [
334
- import("./state.js").State.WARN,
335
- "multiline-arguments"
336
- ];
337
- readonly "stylistic/generator-star-spacing": import("./state.js").State.WARN;
338
- readonly "stylistic/implicit-arrow-linebreak": import("./state.js").State.WARN;
339
- readonly "stylistic/indent": readonly [
340
- import("./state.js").State.WARN,
341
- 2,
342
- {
343
- readonly assignmentOperator: 0;
344
- readonly VariableDeclarator: {
345
- readonly var: 0;
346
- readonly let: 0;
347
- readonly const: 0;
348
- };
349
- readonly outerIIFEBody: 0;
350
- readonly offsetTernaryExpressions: true;
351
- }
352
- ];
353
- readonly "stylistic/indent-binary-ops": readonly [
354
- import("./state.js").State.WARN,
355
- 2
356
- ];
357
- readonly "stylistic/key-spacing": import("./state.js").State.WARN;
358
- readonly "stylistic/keyword-spacing": import("./state.js").State.WARN;
359
- readonly "stylistic/linebreak-style": import("./state.js").State.WARN;
360
- readonly "stylistic/lines-between-class-members": readonly [
361
- import("./state.js").State.WARN,
362
- {
363
- readonly enforce: readonly [
364
- {
365
- readonly prev: "field";
366
- readonly next: "field";
367
- readonly blankLine: "never";
368
- },
369
- {
370
- readonly prev: "field";
371
- readonly next: "method";
372
- readonly blankLine: "always";
373
- },
374
- {
375
- readonly prev: "method";
376
- readonly next: "*";
377
- readonly blankLine: "always";
378
- }
379
- ];
380
- }
381
- ];
382
- readonly "stylistic/max-len": readonly [
383
- import("./state.js").State.WARN,
384
- {
385
- readonly code: 300;
386
- readonly ignoreComments: true;
387
- readonly ignoreTrailingComments: true;
388
- readonly ignoreUrls: true;
389
- readonly ignoreStrings: true;
390
- readonly ignoreTemplateLiterals: true;
391
- readonly ignoreRegExpLiterals: true;
392
- }
393
- ];
394
- readonly "stylistic/max-statements-per-line": import("./state.js").State.WARN;
395
- readonly "stylistic/member-delimiter-style": import("./state.js").State.WARN;
396
- readonly "stylistic/multiline-ternary": readonly [
397
- import("./state.js").State.WARN,
398
- "always-multiline"
399
- ];
400
- readonly "stylistic/newline-per-chained-call": import("./state.js").State.WARN;
401
- readonly "stylistic/no-extra-parens": import("./state.js").State.WARN;
402
- readonly "stylistic/no-extra-semi": import("./state.js").State.WARN;
403
- readonly "stylistic/no-floating-decimal": import("./state.js").State.WARN;
404
- readonly "stylistic/no-mixed-spaces-and-tabs": import("./state.js").State.WARN;
405
- readonly "stylistic/no-multi-spaces": readonly [
406
- import("./state.js").State.WARN,
407
- {
408
- readonly exceptions: {
409
- readonly Property: false;
410
- readonly ImportAttributes: false;
411
- };
412
- }
413
- ];
414
- readonly "stylistic/no-multiple-empty-lines": readonly [
415
- import("./state.js").State.WARN,
416
- {
417
- readonly max: 1;
418
- readonly maxBOF: 0;
419
- readonly maxEOF: 0;
420
- }
421
- ];
422
- readonly "stylistic/no-tabs": import("./state.js").State.WARN;
423
- readonly "stylistic/no-trailing-spaces": import("./state.js").State.WARN;
424
- readonly "stylistic/no-whitespace-before-property": import("./state.js").State.WARN;
425
- readonly "stylistic/nonblock-statement-body-position": readonly [
426
- import("./state.js").State.WARN,
427
- "below"
428
- ];
429
- readonly "stylistic/object-curly-newline": readonly [
430
- import("./state.js").State.WARN,
431
- {
432
- readonly consistent: true;
433
- readonly multiline: true;
434
- readonly minProperties: 3;
435
- }
436
- ];
437
- readonly "stylistic/object-curly-spacing": readonly [
438
- import("./state.js").State.WARN,
439
- "always",
440
- {
441
- readonly emptyObjects: "never";
442
- }
443
- ];
444
- readonly "stylistic/object-property-newline": import("./state.js").State.WARN;
445
- readonly "stylistic/one-var-declaration-per-line": readonly [
446
- import("./state.js").State.WARN,
447
- "always"
448
- ];
449
- readonly "stylistic/operator-linebreak": readonly [
450
- import("./state.js").State.WARN,
451
- "before"
452
- ];
453
- readonly "stylistic/padded-blocks": readonly [
454
- import("./state.js").State.WARN,
455
- "never",
456
- {
457
- readonly allowSingleLineBlocks: true;
458
- }
459
- ];
460
- readonly "stylistic/quote-props": readonly [
461
- import("./state.js").State.WARN,
462
- "as-needed",
463
- {
464
- readonly keywords: true;
465
- }
466
- ];
467
- readonly "stylistic/quotes": readonly [
468
- import("./state.js").State.WARN,
469
- "double",
470
- {
471
- readonly avoidEscape: true;
472
- readonly allowTemplateLiterals: "always";
473
- }
474
- ];
475
- readonly "stylistic/rest-spread-spacing": import("./state.js").State.WARN;
476
- readonly "stylistic/semi": import("./state.js").State.WARN;
477
- readonly "stylistic/semi-spacing": import("./state.js").State.WARN;
478
- readonly "stylistic/semi-style": import("./state.js").State.WARN;
479
- readonly "stylistic/space-before-blocks": import("./state.js").State.WARN;
480
- readonly "stylistic/space-before-function-paren": readonly [
481
- import("./state.js").State.WARN,
482
- {
483
- readonly named: "never";
484
- }
485
- ];
486
- readonly "stylistic/space-in-parens": import("./state.js").State.WARN;
487
- readonly "stylistic/space-infix-ops": import("./state.js").State.WARN;
488
- readonly "stylistic/space-unary-ops": import("./state.js").State.WARN;
489
- readonly "stylistic/spaced-comment": readonly [
490
- import("./state.js").State.WARN,
491
- "always",
492
- {
493
- readonly line: {
494
- readonly exceptions: readonly [
495
- "/",
496
- "-",
497
- "+",
498
- "="
499
- ];
500
- readonly markers: readonly [
501
- "!",
502
- "@",
503
- "#",
504
- "/",
505
- "#region",
506
- "#endregion",
507
- "#part",
508
- "/#region",
509
- "/#endregion",
510
- "/#part"
511
- ];
512
- };
513
- readonly block: {
514
- readonly exceptions: readonly [
515
- "*"
516
- ];
517
- readonly markers: readonly [
518
- "*"
519
- ];
520
- readonly balanced: true;
521
- };
522
- }
523
- ];
524
- readonly "stylistic/switch-colon-spacing": import("./state.js").State.WARN;
525
- readonly "stylistic/template-curly-spacing": import("./state.js").State.WARN;
526
- readonly "stylistic/template-tag-spacing": import("./state.js").State.WARN;
527
- readonly "stylistic/type-annotation-spacing": readonly [
528
- import("./state.js").State.WARN,
529
- {
530
- readonly before: true;
531
- readonly after: true;
532
- readonly overrides: {
533
- readonly colon: {
534
- readonly before: false;
535
- readonly after: true;
536
- };
537
- };
538
- }
539
- ];
540
- readonly "stylistic/type-generic-spacing": import("./state.js").State.WARN;
541
- readonly "stylistic/type-named-tuple-spacing": import("./state.js").State.WARN;
542
- readonly "stylistic/wrap-iife": readonly [
543
- import("./state.js").State.WARN,
544
- "inside",
545
- {
546
- readonly functionPrototypeMethods: true;
547
- }
548
- ];
549
- readonly "stylistic/wrap-regex": import("./state.js").State.WARN;
550
- readonly "stylistic/yield-star-spacing": import("./state.js").State.WARN;
551
- };
552
- })[];
290
+ }[];
553
291
  ts: ({
554
292
  rules: {
555
293
  readonly "consistent-return": import("./state.js").State.OFF;
@@ -675,6 +413,7 @@ declare const _default: {
675
413
  readonly "ts/no-unsafe-return": import("./state.js").State.ON;
676
414
  readonly "ts/no-unsafe-unary-minus": import("./state.js").State.ON;
677
415
  readonly "ts/no-unused-private-class-members": import("./state.js").State.WARN;
416
+ readonly "ts/no-useless-default-assignment": import("./state.js").State.WARN;
678
417
  readonly "ts/no-useless-empty-export": import("./state.js").State.WARN;
679
418
  readonly "ts/no-wrapper-object-types": import("./state.js").State.ON;
680
419
  readonly "ts/parameter-properties": readonly [
@@ -802,7 +541,6 @@ declare const _default: {
802
541
  readonly "no-unused-vars": import("./state.js").State.OFF;
803
542
  readonly "ts/no-unused-vars": import("./state.js").State.OFF;
804
543
  readonly "prefer-const": import("./state.js").State.OFF;
805
- readonly "stylistic/indent": import("./state.js").State.OFF;
806
544
  readonly "ts/no-confusing-void-expression": import("./state.js").State.OFF;
807
545
  };
808
546
  } | {
@@ -921,7 +659,6 @@ declare const _default: {
921
659
  import("./state.js").State.ON,
922
660
  "both"
923
661
  ];
924
- readonly "stylistic/no-trailing-spaces": import("./state.js").State.OFF;
925
662
  readonly "svelte/no-trailing-spaces": import("./state.js").State.WARN;
926
663
  };
927
664
  })[];
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,wBAWE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,wBAWE"}