@eslinted/defaults 19.0.1 → 19.0.3

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.
@@ -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,7 +287,269 @@ 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
- }[];
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
+ })[];
291
553
  ts: ({
292
554
  rules: {
293
555
  readonly "consistent-return": import("./state.js").State.OFF;
@@ -541,6 +803,7 @@ declare const _default: {
541
803
  readonly "no-unused-vars": import("./state.js").State.OFF;
542
804
  readonly "ts/no-unused-vars": import("./state.js").State.OFF;
543
805
  readonly "prefer-const": import("./state.js").State.OFF;
806
+ readonly "stylistic/indent": import("./state.js").State.OFF;
544
807
  readonly "ts/no-confusing-void-expression": import("./state.js").State.OFF;
545
808
  };
546
809
  } | {
@@ -659,6 +922,7 @@ declare const _default: {
659
922
  import("./state.js").State.ON,
660
923
  "both"
661
924
  ];
925
+ readonly "stylistic/no-trailing-spaces": import("./state.js").State.OFF;
662
926
  readonly "svelte/no-trailing-spaces": import("./state.js").State.WARN;
663
927
  };
664
928
  })[];
@@ -697,45 +961,6 @@ declare const _default: {
697
961
  readonly "html/require-img-alt": import("./state.js").State.WARN;
698
962
  readonly "html/require-input-label": import("./state.js").State.WARN;
699
963
  readonly "html/require-meta-viewport": import("./state.js").State.WARN;
700
- readonly "html/attrs-newline": readonly [
701
- import("./state.js").State.WARN,
702
- {
703
- readonly ifAttrsMoreThan: 0;
704
- }
705
- ];
706
- readonly "html/element-newline": readonly [
707
- import("./state.js").State.WARN,
708
- {
709
- readonly skip: readonly [
710
- "head"
711
- ];
712
- readonly inline: readonly [
713
- "$inline"
714
- ];
715
- }
716
- ];
717
- readonly "html/indent": readonly [
718
- import("./state.js").State.WARN,
719
- 2
720
- ];
721
- readonly "html/lowercase": import("./state.js").State.WARN;
722
- readonly "html/no-extra-spacing-attrs": readonly [
723
- import("./state.js").State.WARN,
724
- {
725
- readonly disallowMissing: true;
726
- readonly disallowTabs: true;
727
- readonly disallowInAssignment: true;
728
- }
729
- ];
730
- readonly "html/no-extra-spacing-text": import("./state.js").State.WARN;
731
- readonly "html/no-multiple-empty-lines": readonly [
732
- import("./state.js").State.WARN,
733
- {
734
- readonly max: 1;
735
- }
736
- ];
737
- readonly "html/no-trailing-spaces": import("./state.js").State.WARN;
738
- readonly "html/quotes": import("./state.js").State.WARN;
739
964
  };
740
965
  }[];
741
966
  css: {
@@ -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"}
@@ -1,4 +1,4 @@
1
- declare const _default: {
1
+ declare const _default: ({
2
2
  rules: {
3
3
  readonly "array-callback-return": readonly [
4
4
  import("./state.js").State.ON,
@@ -286,6 +286,268 @@ declare const _default: {
286
286
  readonly yoda: import("./state.js").State.WARN;
287
287
  readonly "unicode-bom": import("./state.js").State.WARN;
288
288
  };
289
- }[];
289
+ } | {
290
+ rules: {
291
+ readonly "stylistic/array-bracket-newline": import("./state.js").State.WARN;
292
+ readonly "stylistic/array-bracket-spacing": import("./state.js").State.WARN;
293
+ readonly "stylistic/array-element-newline": readonly [
294
+ import("./state.js").State.WARN,
295
+ {
296
+ readonly consistent: true;
297
+ readonly multiline: true;
298
+ readonly minItems: 3;
299
+ }
300
+ ];
301
+ readonly "stylistic/arrow-parens": readonly [
302
+ import("./state.js").State.WARN,
303
+ "as-needed"
304
+ ];
305
+ readonly "stylistic/arrow-spacing": import("./state.js").State.WARN;
306
+ readonly "stylistic/block-spacing": import("./state.js").State.WARN;
307
+ readonly "stylistic/brace-style": readonly [
308
+ import("./state.js").State.WARN,
309
+ "stroustrup",
310
+ {
311
+ readonly allowSingleLine: true;
312
+ }
313
+ ];
314
+ readonly "stylistic/comma-dangle": readonly [
315
+ import("./state.js").State.WARN,
316
+ "always-multiline"
317
+ ];
318
+ readonly "stylistic/comma-spacing": import("./state.js").State.WARN;
319
+ readonly "stylistic/comma-style": import("./state.js").State.WARN;
320
+ readonly "stylistic/computed-property-spacing": import("./state.js").State.WARN;
321
+ readonly "stylistic/curly-newline": import("./state.js").State.WARN;
322
+ readonly "stylistic/dot-location": readonly [
323
+ import("./state.js").State.WARN,
324
+ "property"
325
+ ];
326
+ readonly "stylistic/eol-last": import("./state.js").State.WARN;
327
+ readonly "stylistic/function-call-argument-newline": readonly [
328
+ import("./state.js").State.WARN,
329
+ "consistent"
330
+ ];
331
+ readonly "stylistic/function-call-spacing": import("./state.js").State.WARN;
332
+ readonly "stylistic/function-paren-newline": readonly [
333
+ import("./state.js").State.WARN,
334
+ "multiline-arguments"
335
+ ];
336
+ readonly "stylistic/generator-star-spacing": import("./state.js").State.WARN;
337
+ readonly "stylistic/implicit-arrow-linebreak": import("./state.js").State.WARN;
338
+ readonly "stylistic/indent": readonly [
339
+ import("./state.js").State.WARN,
340
+ 2,
341
+ {
342
+ readonly assignmentOperator: 0;
343
+ readonly VariableDeclarator: {
344
+ readonly var: 0;
345
+ readonly let: 0;
346
+ readonly const: 0;
347
+ };
348
+ readonly outerIIFEBody: 0;
349
+ readonly offsetTernaryExpressions: true;
350
+ }
351
+ ];
352
+ readonly "stylistic/indent-binary-ops": readonly [
353
+ import("./state.js").State.WARN,
354
+ 2
355
+ ];
356
+ readonly "stylistic/key-spacing": import("./state.js").State.WARN;
357
+ readonly "stylistic/keyword-spacing": import("./state.js").State.WARN;
358
+ readonly "stylistic/linebreak-style": import("./state.js").State.WARN;
359
+ readonly "stylistic/lines-between-class-members": readonly [
360
+ import("./state.js").State.WARN,
361
+ {
362
+ readonly enforce: readonly [
363
+ {
364
+ readonly prev: "field";
365
+ readonly next: "field";
366
+ readonly blankLine: "never";
367
+ },
368
+ {
369
+ readonly prev: "field";
370
+ readonly next: "method";
371
+ readonly blankLine: "always";
372
+ },
373
+ {
374
+ readonly prev: "method";
375
+ readonly next: "*";
376
+ readonly blankLine: "always";
377
+ }
378
+ ];
379
+ }
380
+ ];
381
+ readonly "stylistic/max-len": readonly [
382
+ import("./state.js").State.WARN,
383
+ {
384
+ readonly code: 300;
385
+ readonly ignoreComments: true;
386
+ readonly ignoreTrailingComments: true;
387
+ readonly ignoreUrls: true;
388
+ readonly ignoreStrings: true;
389
+ readonly ignoreTemplateLiterals: true;
390
+ readonly ignoreRegExpLiterals: true;
391
+ }
392
+ ];
393
+ readonly "stylistic/max-statements-per-line": import("./state.js").State.WARN;
394
+ readonly "stylistic/member-delimiter-style": import("./state.js").State.WARN;
395
+ readonly "stylistic/multiline-ternary": readonly [
396
+ import("./state.js").State.WARN,
397
+ "always-multiline"
398
+ ];
399
+ readonly "stylistic/newline-per-chained-call": import("./state.js").State.WARN;
400
+ readonly "stylistic/no-extra-parens": import("./state.js").State.WARN;
401
+ readonly "stylistic/no-extra-semi": import("./state.js").State.WARN;
402
+ readonly "stylistic/no-floating-decimal": import("./state.js").State.WARN;
403
+ readonly "stylistic/no-mixed-spaces-and-tabs": import("./state.js").State.WARN;
404
+ readonly "stylistic/no-multi-spaces": readonly [
405
+ import("./state.js").State.WARN,
406
+ {
407
+ readonly exceptions: {
408
+ readonly Property: false;
409
+ readonly ImportAttributes: false;
410
+ };
411
+ }
412
+ ];
413
+ readonly "stylistic/no-multiple-empty-lines": readonly [
414
+ import("./state.js").State.WARN,
415
+ {
416
+ readonly max: 1;
417
+ readonly maxBOF: 0;
418
+ readonly maxEOF: 0;
419
+ }
420
+ ];
421
+ readonly "stylistic/no-tabs": import("./state.js").State.WARN;
422
+ readonly "stylistic/no-trailing-spaces": import("./state.js").State.WARN;
423
+ readonly "stylistic/no-whitespace-before-property": import("./state.js").State.WARN;
424
+ readonly "stylistic/nonblock-statement-body-position": readonly [
425
+ import("./state.js").State.WARN,
426
+ "below"
427
+ ];
428
+ readonly "stylistic/object-curly-newline": readonly [
429
+ import("./state.js").State.WARN,
430
+ {
431
+ readonly consistent: true;
432
+ readonly multiline: true;
433
+ readonly minProperties: 3;
434
+ }
435
+ ];
436
+ readonly "stylistic/object-curly-spacing": readonly [
437
+ import("./state.js").State.WARN,
438
+ "always",
439
+ {
440
+ readonly emptyObjects: "never";
441
+ }
442
+ ];
443
+ readonly "stylistic/object-property-newline": import("./state.js").State.WARN;
444
+ readonly "stylistic/one-var-declaration-per-line": readonly [
445
+ import("./state.js").State.WARN,
446
+ "always"
447
+ ];
448
+ readonly "stylistic/operator-linebreak": readonly [
449
+ import("./state.js").State.WARN,
450
+ "before"
451
+ ];
452
+ readonly "stylistic/padded-blocks": readonly [
453
+ import("./state.js").State.WARN,
454
+ "never",
455
+ {
456
+ readonly allowSingleLineBlocks: true;
457
+ }
458
+ ];
459
+ readonly "stylistic/quote-props": readonly [
460
+ import("./state.js").State.WARN,
461
+ "as-needed",
462
+ {
463
+ readonly keywords: true;
464
+ }
465
+ ];
466
+ readonly "stylistic/quotes": readonly [
467
+ import("./state.js").State.WARN,
468
+ "double",
469
+ {
470
+ readonly avoidEscape: true;
471
+ readonly allowTemplateLiterals: "always";
472
+ }
473
+ ];
474
+ readonly "stylistic/rest-spread-spacing": import("./state.js").State.WARN;
475
+ readonly "stylistic/semi": import("./state.js").State.WARN;
476
+ readonly "stylistic/semi-spacing": import("./state.js").State.WARN;
477
+ readonly "stylistic/semi-style": import("./state.js").State.WARN;
478
+ readonly "stylistic/space-before-blocks": import("./state.js").State.WARN;
479
+ readonly "stylistic/space-before-function-paren": readonly [
480
+ import("./state.js").State.WARN,
481
+ {
482
+ readonly named: "never";
483
+ }
484
+ ];
485
+ readonly "stylistic/space-in-parens": import("./state.js").State.WARN;
486
+ readonly "stylistic/space-infix-ops": import("./state.js").State.WARN;
487
+ readonly "stylistic/space-unary-ops": import("./state.js").State.WARN;
488
+ readonly "stylistic/spaced-comment": readonly [
489
+ import("./state.js").State.WARN,
490
+ "always",
491
+ {
492
+ readonly line: {
493
+ readonly exceptions: readonly [
494
+ "/",
495
+ "-",
496
+ "+",
497
+ "="
498
+ ];
499
+ readonly markers: readonly [
500
+ "!",
501
+ "@",
502
+ "#",
503
+ "/",
504
+ "#region",
505
+ "#endregion",
506
+ "#part",
507
+ "/#region",
508
+ "/#endregion",
509
+ "/#part"
510
+ ];
511
+ };
512
+ readonly block: {
513
+ readonly exceptions: readonly [
514
+ "*"
515
+ ];
516
+ readonly markers: readonly [
517
+ "*"
518
+ ];
519
+ readonly balanced: true;
520
+ };
521
+ }
522
+ ];
523
+ readonly "stylistic/switch-colon-spacing": import("./state.js").State.WARN;
524
+ readonly "stylistic/template-curly-spacing": import("./state.js").State.WARN;
525
+ readonly "stylistic/template-tag-spacing": import("./state.js").State.WARN;
526
+ readonly "stylistic/type-annotation-spacing": readonly [
527
+ import("./state.js").State.WARN,
528
+ {
529
+ readonly before: true;
530
+ readonly after: true;
531
+ readonly overrides: {
532
+ readonly colon: {
533
+ readonly before: false;
534
+ readonly after: true;
535
+ };
536
+ };
537
+ }
538
+ ];
539
+ readonly "stylistic/type-generic-spacing": import("./state.js").State.WARN;
540
+ readonly "stylistic/type-named-tuple-spacing": import("./state.js").State.WARN;
541
+ readonly "stylistic/wrap-iife": readonly [
542
+ import("./state.js").State.WARN,
543
+ "inside",
544
+ {
545
+ readonly functionPrototypeMethods: true;
546
+ }
547
+ ];
548
+ readonly "stylistic/wrap-regex": import("./state.js").State.WARN;
549
+ readonly "stylistic/yield-star-spacing": import("./state.js").State.WARN;
550
+ };
551
+ })[];
290
552
  export default _default;
291
553
  //# sourceMappingURL=js.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"js.d.ts","sourceRoot":"","sources":["../../src/rules/js.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAAwB"}
1
+ {"version":3,"file":"js.d.ts","sourceRoot":"","sources":["../../src/rules/js.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
package/dist/rules/js.js CHANGED
@@ -1,3 +1,7 @@
1
1
  import eslint from "./js.eslint.js";
2
- export default [eslint];
2
+ import stylistic from "./js.stylistic.js";
3
+ export default [
4
+ eslint,
5
+ stylistic,
6
+ ];
3
7
  //# sourceMappingURL=js.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"js.js","sourceRoot":"","sources":["../../src/rules/js.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAEjC,eAAe,CAAC,MAAM,CAAC,CAAC"}
1
+ {"version":3,"file":"js.js","sourceRoot":"","sources":["../../src/rules/js.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,SAAS,MAAM,gBAAgB,CAAC;AAEvC,eAAe;IACb,MAAM;IACN,SAAS;CACV,CAAC"}