@coderwyd/eslint-config 4.1.1 → 4.2.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.
- package/dist/cli.js +11 -11
- package/dist/index.d.ts +456 -240
- package/dist/index.js +79 -1
- package/package.json +27 -25
package/dist/index.d.ts
CHANGED
|
@@ -391,233 +391,233 @@ interface RuleOptions {
|
|
|
391
391
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
392
392
|
/**
|
|
393
393
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
394
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
394
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/consistent-type-specifier-style.md
|
|
395
395
|
*/
|
|
396
396
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
397
397
|
/**
|
|
398
398
|
* Ensure a default export is present, given a default import.
|
|
399
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
399
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/default.md
|
|
400
400
|
*/
|
|
401
401
|
'import/default'?: Linter.RuleEntry<[]>
|
|
402
402
|
/**
|
|
403
403
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
404
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
404
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/dynamic-import-chunkname.md
|
|
405
405
|
*/
|
|
406
406
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
407
407
|
/**
|
|
408
408
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
409
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
409
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/export.md
|
|
410
410
|
*/
|
|
411
411
|
'import/export'?: Linter.RuleEntry<[]>
|
|
412
412
|
/**
|
|
413
413
|
* Ensure all exports appear after other statements.
|
|
414
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
414
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/exports-last.md
|
|
415
415
|
*/
|
|
416
416
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
417
417
|
/**
|
|
418
418
|
* Ensure consistent use of file extension within the import path.
|
|
419
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
419
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/extensions.md
|
|
420
420
|
*/
|
|
421
421
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
422
422
|
/**
|
|
423
423
|
* Ensure all imports appear before other statements.
|
|
424
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
424
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/first.md
|
|
425
425
|
*/
|
|
426
426
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
427
427
|
/**
|
|
428
428
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
429
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
429
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/group-exports.md
|
|
430
430
|
*/
|
|
431
431
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
432
432
|
/**
|
|
433
433
|
* Replaced by `import-x/first`.
|
|
434
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
434
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/imports-first.md
|
|
435
435
|
* @deprecated
|
|
436
436
|
*/
|
|
437
437
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
438
438
|
/**
|
|
439
439
|
* Enforce the maximum number of dependencies a module can have.
|
|
440
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
440
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/max-dependencies.md
|
|
441
441
|
*/
|
|
442
442
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
443
443
|
/**
|
|
444
444
|
* Ensure named imports correspond to a named export in the remote file.
|
|
445
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
445
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/named.md
|
|
446
446
|
*/
|
|
447
447
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
448
448
|
/**
|
|
449
449
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
450
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
450
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/namespace.md
|
|
451
451
|
*/
|
|
452
452
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
453
453
|
/**
|
|
454
454
|
* Enforce a newline after import statements.
|
|
455
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
455
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/newline-after-import.md
|
|
456
456
|
*/
|
|
457
457
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
458
458
|
/**
|
|
459
459
|
* Forbid import of modules using absolute paths.
|
|
460
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
460
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-absolute-path.md
|
|
461
461
|
*/
|
|
462
462
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
463
463
|
/**
|
|
464
464
|
* Forbid AMD `require` and `define` calls.
|
|
465
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
465
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-amd.md
|
|
466
466
|
*/
|
|
467
467
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
468
468
|
/**
|
|
469
469
|
* Forbid anonymous values as default exports.
|
|
470
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
470
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-anonymous-default-export.md
|
|
471
471
|
*/
|
|
472
472
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
473
473
|
/**
|
|
474
474
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
475
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
475
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-commonjs.md
|
|
476
476
|
*/
|
|
477
477
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
478
478
|
/**
|
|
479
479
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
480
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
480
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-cycle.md
|
|
481
481
|
*/
|
|
482
482
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
483
483
|
/**
|
|
484
484
|
* Forbid default exports.
|
|
485
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
485
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-default-export.md
|
|
486
486
|
*/
|
|
487
487
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
488
488
|
/**
|
|
489
489
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
490
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
490
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-deprecated.md
|
|
491
491
|
*/
|
|
492
492
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
493
493
|
/**
|
|
494
494
|
* Forbid repeated import of the same module in multiple places.
|
|
495
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
495
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-duplicates.md
|
|
496
496
|
*/
|
|
497
497
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
498
498
|
/**
|
|
499
499
|
* Forbid `require()` calls with expressions.
|
|
500
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
500
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-dynamic-require.md
|
|
501
501
|
*/
|
|
502
502
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
503
503
|
/**
|
|
504
504
|
* Forbid empty named import blocks.
|
|
505
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
505
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-empty-named-blocks.md
|
|
506
506
|
*/
|
|
507
507
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
508
508
|
/**
|
|
509
509
|
* Forbid the use of extraneous packages.
|
|
510
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
510
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-extraneous-dependencies.md
|
|
511
511
|
*/
|
|
512
512
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
513
513
|
/**
|
|
514
514
|
* Forbid import statements with CommonJS module.exports.
|
|
515
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
515
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-import-module-exports.md
|
|
516
516
|
*/
|
|
517
517
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
518
518
|
/**
|
|
519
519
|
* Forbid importing the submodules of other modules.
|
|
520
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
520
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-internal-modules.md
|
|
521
521
|
*/
|
|
522
522
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
523
523
|
/**
|
|
524
524
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
525
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
525
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-mutable-exports.md
|
|
526
526
|
*/
|
|
527
527
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
528
528
|
/**
|
|
529
529
|
* Forbid use of exported name as identifier of default export.
|
|
530
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
530
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-named-as-default.md
|
|
531
531
|
*/
|
|
532
532
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
533
533
|
/**
|
|
534
534
|
* Forbid use of exported name as property of default export.
|
|
535
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
535
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-named-as-default-member.md
|
|
536
536
|
*/
|
|
537
537
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
538
538
|
/**
|
|
539
539
|
* Forbid named default exports.
|
|
540
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
540
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-named-default.md
|
|
541
541
|
*/
|
|
542
542
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
543
543
|
/**
|
|
544
544
|
* Forbid named exports.
|
|
545
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
545
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-named-export.md
|
|
546
546
|
*/
|
|
547
547
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
548
548
|
/**
|
|
549
549
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
550
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
550
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-namespace.md
|
|
551
551
|
*/
|
|
552
552
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
553
553
|
/**
|
|
554
554
|
* Forbid Node.js builtin modules.
|
|
555
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
555
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-nodejs-modules.md
|
|
556
556
|
*/
|
|
557
557
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
558
558
|
/**
|
|
559
559
|
* Forbid importing packages through relative paths.
|
|
560
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
560
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-relative-packages.md
|
|
561
561
|
*/
|
|
562
562
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
563
563
|
/**
|
|
564
564
|
* Forbid importing modules from parent directories.
|
|
565
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
565
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-relative-parent-imports.md
|
|
566
566
|
*/
|
|
567
567
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
568
568
|
/**
|
|
569
569
|
* Forbid importing a default export by a different name.
|
|
570
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
570
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-rename-default.md
|
|
571
571
|
*/
|
|
572
572
|
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
|
|
573
573
|
/**
|
|
574
574
|
* Enforce which files can be imported in a given folder.
|
|
575
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
575
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-restricted-paths.md
|
|
576
576
|
*/
|
|
577
577
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
578
578
|
/**
|
|
579
579
|
* Forbid a module from importing itself.
|
|
580
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
580
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-self-import.md
|
|
581
581
|
*/
|
|
582
582
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
583
583
|
/**
|
|
584
584
|
* Forbid unassigned imports.
|
|
585
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
585
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-unassigned-import.md
|
|
586
586
|
*/
|
|
587
587
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
588
588
|
/**
|
|
589
589
|
* Ensure imports point to a file/module that can be resolved.
|
|
590
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
590
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-unresolved.md
|
|
591
591
|
*/
|
|
592
592
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
593
593
|
/**
|
|
594
594
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
595
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
595
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-unused-modules.md
|
|
596
596
|
*/
|
|
597
597
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
598
598
|
/**
|
|
599
599
|
* Forbid unnecessary path segments in import and require statements.
|
|
600
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
600
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-useless-path-segments.md
|
|
601
601
|
*/
|
|
602
602
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
603
603
|
/**
|
|
604
604
|
* Forbid webpack loader syntax in imports.
|
|
605
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
605
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/no-webpack-loader-syntax.md
|
|
606
606
|
*/
|
|
607
607
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
608
608
|
/**
|
|
609
609
|
* Enforce a convention in module import order.
|
|
610
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
610
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/order.md
|
|
611
611
|
*/
|
|
612
612
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
613
613
|
/**
|
|
614
614
|
* Prefer a default export if module exports a single name or multiple names.
|
|
615
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
615
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/prefer-default-export.md
|
|
616
616
|
*/
|
|
617
617
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
618
618
|
/**
|
|
619
619
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
620
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
620
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.8.0/docs/rules/unambiguous.md
|
|
621
621
|
*/
|
|
622
622
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
623
623
|
/**
|
|
@@ -2566,6 +2566,11 @@ interface RuleOptions {
|
|
|
2566
2566
|
* @see https://eslint-react.xyz/docs/rules/dom-no-flush-sync
|
|
2567
2567
|
*/
|
|
2568
2568
|
'react-dom/no-flush-sync'?: Linter.RuleEntry<[]>
|
|
2569
|
+
/**
|
|
2570
|
+
* replaces usages of 'ReactDom.hydrate()' with 'hydrateRoot()'
|
|
2571
|
+
* @see https://eslint-react.xyz/docs/rules/dom-no-hydrate
|
|
2572
|
+
*/
|
|
2573
|
+
'react-dom/no-hydrate'?: Linter.RuleEntry<[]>
|
|
2569
2574
|
/**
|
|
2570
2575
|
* enforce that button component have an explicit 'type' attribute
|
|
2571
2576
|
* @see https://eslint-react.xyz/docs/rules/dom-no-missing-button-type
|
|
@@ -2581,6 +2586,11 @@ interface RuleOptions {
|
|
|
2581
2586
|
* @see https://eslint-react.xyz/docs/rules/dom-no-namespace
|
|
2582
2587
|
*/
|
|
2583
2588
|
'react-dom/no-namespace'?: Linter.RuleEntry<[]>
|
|
2589
|
+
/**
|
|
2590
|
+
* replace usages of 'ReactDom.render()' with 'createRoot(node).render()'
|
|
2591
|
+
* @see https://eslint-react.xyz/docs/rules/dom-no-render
|
|
2592
|
+
*/
|
|
2593
|
+
'react-dom/no-render'?: Linter.RuleEntry<[]>
|
|
2584
2594
|
/**
|
|
2585
2595
|
* disallow usage of the return value of 'ReactDOM.render'
|
|
2586
2596
|
* @see https://eslint-react.xyz/docs/rules/dom-no-render-return-value
|
|
@@ -2606,6 +2616,11 @@ interface RuleOptions {
|
|
|
2606
2616
|
* @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-target-blank
|
|
2607
2617
|
*/
|
|
2608
2618
|
'react-dom/no-unsafe-target-blank'?: Linter.RuleEntry<[]>
|
|
2619
|
+
/**
|
|
2620
|
+
* replace usages of 'ReactDom.render()' with 'createRoot(node).render()'
|
|
2621
|
+
* @see https://eslint-react.xyz/docs/rules/dom-no-use-form-state
|
|
2622
|
+
*/
|
|
2623
|
+
'react-dom/no-use-form-state'?: Linter.RuleEntry<[]>
|
|
2609
2624
|
/**
|
|
2610
2625
|
* disallow void elements (AKA self-closing elements) from having children
|
|
2611
2626
|
* @see https://eslint-react.xyz/docs/rules/dom-no-void-elements-with-children
|
|
@@ -2613,7 +2628,7 @@ interface RuleOptions {
|
|
|
2613
2628
|
'react-dom/no-void-elements-with-children'?: Linter.RuleEntry<[]>
|
|
2614
2629
|
/**
|
|
2615
2630
|
* enforce custom Hooks to use at least one other hook inside
|
|
2616
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-
|
|
2631
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
|
|
2617
2632
|
*/
|
|
2618
2633
|
'react-hooks-extra/ensure-custom-hooks-using-other-hooks'?: Linter.RuleEntry<[]>
|
|
2619
2634
|
/**
|
|
@@ -2638,7 +2653,7 @@ interface RuleOptions {
|
|
|
2638
2653
|
'react-hooks-extra/no-direct-set-state-in-use-layout-effect'?: Linter.RuleEntry<[]>
|
|
2639
2654
|
/**
|
|
2640
2655
|
* enforce custom Hooks to use at least one other hook inside
|
|
2641
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-
|
|
2656
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
|
|
2642
2657
|
*/
|
|
2643
2658
|
'react-hooks-extra/no-redundant-custom-hook'?: Linter.RuleEntry<[]>
|
|
2644
2659
|
/**
|
|
@@ -2653,7 +2668,12 @@ interface RuleOptions {
|
|
|
2653
2668
|
'react-hooks-extra/no-unnecessary-use-memo'?: Linter.RuleEntry<[]>
|
|
2654
2669
|
/**
|
|
2655
2670
|
* enforce custom Hooks to use at least one other hook inside
|
|
2656
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-
|
|
2671
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
|
|
2672
|
+
*/
|
|
2673
|
+
'react-hooks-extra/no-unnecessary-use-prefix'?: Linter.RuleEntry<[]>
|
|
2674
|
+
/**
|
|
2675
|
+
* enforce custom Hooks to use at least one other hook inside
|
|
2676
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
|
|
2657
2677
|
*/
|
|
2658
2678
|
'react-hooks-extra/no-useless-custom-hooks'?: Linter.RuleEntry<[]>
|
|
2659
2679
|
/**
|
|
@@ -2672,12 +2692,12 @@ interface RuleOptions {
|
|
|
2672
2692
|
*/
|
|
2673
2693
|
'react-hooks/rules-of-hooks'?: Linter.RuleEntry<[]>
|
|
2674
2694
|
/**
|
|
2675
|
-
* enforce
|
|
2695
|
+
* enforce naming convention for components
|
|
2676
2696
|
* @see https://eslint-react.xyz/docs/rules/naming-convention-component-name
|
|
2677
2697
|
*/
|
|
2678
2698
|
'react-naming-convention/component-name'?: Linter.RuleEntry<ReactNamingConventionComponentName>
|
|
2679
2699
|
/**
|
|
2680
|
-
* enforce context name to
|
|
2700
|
+
* enforce context name to be a valid component name with the suffix 'Context'
|
|
2681
2701
|
* @see https://eslint-react.xyz/docs/rules/naming-convention-context-name
|
|
2682
2702
|
*/
|
|
2683
2703
|
'react-naming-convention/context-name'?: Linter.RuleEntry<[]>
|
|
@@ -2729,7 +2749,7 @@ interface RuleOptions {
|
|
|
2729
2749
|
'react/avoid-shorthand-fragment'?: Linter.RuleEntry<[]>
|
|
2730
2750
|
/**
|
|
2731
2751
|
* require a 'ref' parameter to be set when using 'forwardRef'
|
|
2732
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
2752
|
+
* @see https://eslint-react.xyz/docs/rules/no-useless-forward-ref
|
|
2733
2753
|
*/
|
|
2734
2754
|
'react/ensure-forward-ref-using-ref'?: Linter.RuleEntry<[]>
|
|
2735
2755
|
/**
|
|
@@ -2748,7 +2768,7 @@ interface RuleOptions {
|
|
|
2748
2768
|
*/
|
|
2749
2769
|
'react/no-access-state-in-setstate'?: Linter.RuleEntry<[]>
|
|
2750
2770
|
/**
|
|
2751
|
-
* disallow using
|
|
2771
|
+
* disallow using an item's index in the array as its key
|
|
2752
2772
|
* @see https://eslint-react.xyz/docs/rules/no-array-index-key
|
|
2753
2773
|
*/
|
|
2754
2774
|
'react/no-array-index-key'?: Linter.RuleEntry<[]>
|
|
@@ -2808,22 +2828,22 @@ interface RuleOptions {
|
|
|
2808
2828
|
*/
|
|
2809
2829
|
'react/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>
|
|
2810
2830
|
/**
|
|
2811
|
-
*
|
|
2831
|
+
* replace usages of 'componentWillMount' with 'UNSAFE_componentWillMount'
|
|
2812
2832
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-mount
|
|
2813
2833
|
*/
|
|
2814
2834
|
'react/no-component-will-mount'?: Linter.RuleEntry<[]>
|
|
2815
2835
|
/**
|
|
2816
|
-
*
|
|
2836
|
+
* replace usages of 'componentWillReceiveProps' with 'UNSAFE_componentWillReceiveProps'
|
|
2817
2837
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-receive-props
|
|
2818
2838
|
*/
|
|
2819
2839
|
'react/no-component-will-receive-props'?: Linter.RuleEntry<[]>
|
|
2820
2840
|
/**
|
|
2821
|
-
*
|
|
2841
|
+
* replace usages of 'componentWillUpdate' with 'UNSAFE_componentWillUpdate'
|
|
2822
2842
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-update
|
|
2823
2843
|
*/
|
|
2824
2844
|
'react/no-component-will-update'?: Linter.RuleEntry<[]>
|
|
2825
2845
|
/**
|
|
2826
|
-
*
|
|
2846
|
+
* replace usages of '<Context.Provider>' with '<Context>'
|
|
2827
2847
|
* @see https://eslint-react.xyz/docs/rules/no-context-provider
|
|
2828
2848
|
*/
|
|
2829
2849
|
'react/no-context-provider'?: Linter.RuleEntry<[]>
|
|
@@ -2853,7 +2873,7 @@ interface RuleOptions {
|
|
|
2853
2873
|
*/
|
|
2854
2874
|
'react/no-duplicate-key'?: Linter.RuleEntry<[]>
|
|
2855
2875
|
/**
|
|
2856
|
-
*
|
|
2876
|
+
* replace usages of 'forwardRef' with passing 'ref' as a prop
|
|
2857
2877
|
* @see https://eslint-react.xyz/docs/rules/no-forward-ref
|
|
2858
2878
|
*/
|
|
2859
2879
|
'react/no-forward-ref'?: Linter.RuleEntry<[]>
|
|
@@ -2883,8 +2903,13 @@ interface RuleOptions {
|
|
|
2883
2903
|
*/
|
|
2884
2904
|
'react/no-missing-key'?: Linter.RuleEntry<[]>
|
|
2885
2905
|
/**
|
|
2886
|
-
*
|
|
2887
|
-
* @see https://eslint-react.xyz/docs/rules/no-nested-
|
|
2906
|
+
* prevents nesting component definitions inside other components
|
|
2907
|
+
* @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
|
|
2908
|
+
*/
|
|
2909
|
+
'react/no-nested-component-definitions'?: Linter.RuleEntry<[]>
|
|
2910
|
+
/**
|
|
2911
|
+
* prevents nesting component definitions inside other components
|
|
2912
|
+
* @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
|
|
2888
2913
|
*/
|
|
2889
2914
|
'react/no-nested-components'?: Linter.RuleEntry<[]>
|
|
2890
2915
|
/**
|
|
@@ -2953,10 +2978,15 @@ interface RuleOptions {
|
|
|
2953
2978
|
*/
|
|
2954
2979
|
'react/no-unused-state'?: Linter.RuleEntry<[]>
|
|
2955
2980
|
/**
|
|
2956
|
-
*
|
|
2981
|
+
* replace usages of 'useContext' with 'use'
|
|
2957
2982
|
* @see https://eslint-react.xyz/docs/rules/no-use-context
|
|
2958
2983
|
*/
|
|
2959
2984
|
'react/no-use-context'?: Linter.RuleEntry<[]>
|
|
2985
|
+
/**
|
|
2986
|
+
* require a 'ref' parameter to be set when using 'forwardRef'
|
|
2987
|
+
* @see https://eslint-react.xyz/docs/rules/no-useless-forward-ref
|
|
2988
|
+
*/
|
|
2989
|
+
'react/no-useless-forward-ref'?: Linter.RuleEntry<[]>
|
|
2960
2990
|
/**
|
|
2961
2991
|
* disallow useless fragments
|
|
2962
2992
|
* @see https://eslint-react.xyz/docs/rules/no-useless-fragment
|
|
@@ -2978,12 +3008,12 @@ interface RuleOptions {
|
|
|
2978
3008
|
*/
|
|
2979
3009
|
'react/prefer-read-only-props'?: Linter.RuleEntry<[]>
|
|
2980
3010
|
/**
|
|
2981
|
-
* enforce
|
|
3011
|
+
* enforce the use of shorthand syntax for boolean attributes
|
|
2982
3012
|
* @see https://eslint-react.xyz/docs/rules/prefer-shorthand-boolean
|
|
2983
3013
|
*/
|
|
2984
3014
|
'react/prefer-shorthand-boolean'?: Linter.RuleEntry<[]>
|
|
2985
3015
|
/**
|
|
2986
|
-
* enforce
|
|
3016
|
+
* enforce the use of shorthand syntax for fragments
|
|
2987
3017
|
* @see https://eslint-react.xyz/docs/rules/prefer-shorthand-fragment
|
|
2988
3018
|
*/
|
|
2989
3019
|
'react/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>
|
|
@@ -3745,11 +3775,21 @@ interface RuleOptions {
|
|
|
3745
3775
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-unknown-style-directive-property/
|
|
3746
3776
|
*/
|
|
3747
3777
|
'svelte/no-unknown-style-directive-property'?: Linter.RuleEntry<SvelteNoUnknownStyleDirectiveProperty>
|
|
3778
|
+
/**
|
|
3779
|
+
* Disallow unnecessary $state wrapping of reactive classes
|
|
3780
|
+
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-unnecessary-state-wrap/
|
|
3781
|
+
*/
|
|
3782
|
+
'svelte/no-unnecessary-state-wrap'?: Linter.RuleEntry<SvelteNoUnnecessaryStateWrap>
|
|
3748
3783
|
/**
|
|
3749
3784
|
* disallow the use of a class in the template without a corresponding style
|
|
3750
3785
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-unused-class-name/
|
|
3751
3786
|
*/
|
|
3752
3787
|
'svelte/no-unused-class-name'?: Linter.RuleEntry<SvelteNoUnusedClassName>
|
|
3788
|
+
/**
|
|
3789
|
+
* Warns about defined Props properties that are unused
|
|
3790
|
+
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-unused-props/
|
|
3791
|
+
*/
|
|
3792
|
+
'svelte/no-unused-props'?: Linter.RuleEntry<SvelteNoUnusedProps>
|
|
3753
3793
|
/**
|
|
3754
3794
|
* disallow unused svelte-ignore comments
|
|
3755
3795
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-unused-svelte-ignore/
|
|
@@ -5695,12 +5735,6 @@ interface RuleOptions {
|
|
|
5695
5735
|
* @see https://eslint.vuejs.org/rules/component-options-name-casing.html
|
|
5696
5736
|
*/
|
|
5697
5737
|
'vue/component-options-name-casing'?: Linter.RuleEntry<VueComponentOptionsNameCasing>
|
|
5698
|
-
/**
|
|
5699
|
-
* enforce order of component top-level elements
|
|
5700
|
-
* @see https://eslint.vuejs.org/rules/component-tags-order.html
|
|
5701
|
-
* @deprecated
|
|
5702
|
-
*/
|
|
5703
|
-
'vue/component-tags-order'?: Linter.RuleEntry<VueComponentTagsOrder>
|
|
5704
5738
|
/**
|
|
5705
5739
|
* enforce specific casing for custom event name
|
|
5706
5740
|
* @see https://eslint.vuejs.org/rules/custom-event-name-casing.html
|
|
@@ -5767,7 +5801,7 @@ interface RuleOptions {
|
|
|
5767
5801
|
*/
|
|
5768
5802
|
'vue/html-closing-bracket-spacing'?: Linter.RuleEntry<VueHtmlClosingBracketSpacing>
|
|
5769
5803
|
/**
|
|
5770
|
-
* enforce unified line
|
|
5804
|
+
* enforce unified line break in HTML comments
|
|
5771
5805
|
* @see https://eslint.vuejs.org/rules/html-comment-content-newline.html
|
|
5772
5806
|
*/
|
|
5773
5807
|
'vue/html-comment-content-newline'?: Linter.RuleEntry<VueHtmlCommentContentNewline>
|
|
@@ -6077,11 +6111,15 @@ interface RuleOptions {
|
|
|
6077
6111
|
*/
|
|
6078
6112
|
'vue/no-extra-parens'?: Linter.RuleEntry<VueNoExtraParens>
|
|
6079
6113
|
/**
|
|
6080
|
-
*
|
|
6081
|
-
* @see https://eslint.vuejs.org/rules/no-
|
|
6082
|
-
* @deprecated
|
|
6114
|
+
* Disallow shorthand type conversions in `<template>`
|
|
6115
|
+
* @see https://eslint.vuejs.org/rules/no-implicit-coercion.html
|
|
6083
6116
|
*/
|
|
6084
|
-
'vue/no-
|
|
6117
|
+
'vue/no-implicit-coercion'?: Linter.RuleEntry<VueNoImplicitCoercion>
|
|
6118
|
+
/**
|
|
6119
|
+
* disallow importing Vue compiler macros
|
|
6120
|
+
* @see https://eslint.vuejs.org/rules/no-import-compiler-macros.html
|
|
6121
|
+
*/
|
|
6122
|
+
'vue/no-import-compiler-macros'?: Linter.RuleEntry<[]>
|
|
6085
6123
|
/**
|
|
6086
6124
|
* disallow irregular whitespace in `.vue` files
|
|
6087
6125
|
* @see https://eslint.vuejs.org/rules/no-irregular-whitespace.html
|
|
@@ -6108,12 +6146,12 @@ interface RuleOptions {
|
|
|
6108
6146
|
*/
|
|
6109
6147
|
'vue/no-multi-spaces'?: Linter.RuleEntry<VueNoMultiSpaces>
|
|
6110
6148
|
/**
|
|
6111
|
-
* disallow
|
|
6149
|
+
* disallow passing multiple objects in an array to class
|
|
6112
6150
|
* @see https://eslint.vuejs.org/rules/no-multiple-objects-in-class.html
|
|
6113
6151
|
*/
|
|
6114
6152
|
'vue/no-multiple-objects-in-class'?: Linter.RuleEntry<[]>
|
|
6115
6153
|
/**
|
|
6116
|
-
* disallow
|
|
6154
|
+
* disallow passing multiple arguments to scoped slots
|
|
6117
6155
|
* @see https://eslint.vuejs.org/rules/no-multiple-slot-args.html
|
|
6118
6156
|
*/
|
|
6119
6157
|
'vue/no-multiple-slot-args'?: Linter.RuleEntry<[]>
|
|
@@ -6142,12 +6180,6 @@ interface RuleOptions {
|
|
|
6142
6180
|
* @see https://eslint.vuejs.org/rules/no-ref-as-operand.html
|
|
6143
6181
|
*/
|
|
6144
6182
|
'vue/no-ref-as-operand'?: Linter.RuleEntry<[]>
|
|
6145
|
-
/**
|
|
6146
|
-
* disallow usages of ref objects that can lead to loss of reactivity
|
|
6147
|
-
* @see https://eslint.vuejs.org/rules/no-ref-object-destructure.html
|
|
6148
|
-
* @deprecated
|
|
6149
|
-
*/
|
|
6150
|
-
'vue/no-ref-object-destructure'?: Linter.RuleEntry<[]>
|
|
6151
6183
|
/**
|
|
6152
6184
|
* disallow usages of ref objects that can lead to loss of reactivity
|
|
6153
6185
|
* @see https://eslint.vuejs.org/rules/no-ref-object-reactivity-loss.html
|
|
@@ -6238,12 +6270,6 @@ interface RuleOptions {
|
|
|
6238
6270
|
* @see https://eslint.vuejs.org/rules/no-root-v-if.html
|
|
6239
6271
|
*/
|
|
6240
6272
|
'vue/no-root-v-if'?: Linter.RuleEntry<[]>
|
|
6241
|
-
/**
|
|
6242
|
-
* disallow usages that lose the reactivity of `props` passed to `setup`
|
|
6243
|
-
* @see https://eslint.vuejs.org/rules/no-setup-props-destructure.html
|
|
6244
|
-
* @deprecated
|
|
6245
|
-
*/
|
|
6246
|
-
'vue/no-setup-props-destructure'?: Linter.RuleEntry<[]>
|
|
6247
6273
|
/**
|
|
6248
6274
|
* disallow usages that lose the reactivity of `props` passed to `setup`
|
|
6249
6275
|
* @see https://eslint.vuejs.org/rules/no-setup-props-reactivity-loss.html
|
|
@@ -6377,6 +6403,7 @@ interface RuleOptions {
|
|
|
6377
6403
|
/**
|
|
6378
6404
|
* disallow `key` attribute on `<template v-for>`
|
|
6379
6405
|
* @see https://eslint.vuejs.org/rules/no-v-for-template-key.html
|
|
6406
|
+
* @deprecated
|
|
6380
6407
|
*/
|
|
6381
6408
|
'vue/no-v-for-template-key'?: Linter.RuleEntry<[]>
|
|
6382
6409
|
/**
|
|
@@ -6392,6 +6419,7 @@ interface RuleOptions {
|
|
|
6392
6419
|
/**
|
|
6393
6420
|
* disallow adding an argument to `v-model` used in custom component
|
|
6394
6421
|
* @see https://eslint.vuejs.org/rules/no-v-model-argument.html
|
|
6422
|
+
* @deprecated
|
|
6395
6423
|
*/
|
|
6396
6424
|
'vue/no-v-model-argument'?: Linter.RuleEntry<[]>
|
|
6397
6425
|
/**
|
|
@@ -6624,12 +6652,6 @@ interface RuleOptions {
|
|
|
6624
6652
|
* @see https://eslint.vuejs.org/rules/script-indent.html
|
|
6625
6653
|
*/
|
|
6626
6654
|
'vue/script-indent'?: Linter.RuleEntry<VueScriptIndent>
|
|
6627
|
-
/**
|
|
6628
|
-
* prevent `<script setup>` variables used in `<template>` to be marked as unused
|
|
6629
|
-
* @see https://eslint.vuejs.org/rules/script-setup-uses-vars.html
|
|
6630
|
-
* @deprecated
|
|
6631
|
-
*/
|
|
6632
|
-
'vue/script-setup-uses-vars'?: Linter.RuleEntry<[]>
|
|
6633
6655
|
/**
|
|
6634
6656
|
* require a line break before and after the contents of a singleline element
|
|
6635
6657
|
* @see https://eslint.vuejs.org/rules/singleline-html-element-content-newline.html
|
|
@@ -6700,12 +6722,6 @@ interface RuleOptions {
|
|
|
6700
6722
|
* @see https://eslint.vuejs.org/rules/v-on-event-hyphenation.html
|
|
6701
6723
|
*/
|
|
6702
6724
|
'vue/v-on-event-hyphenation'?: Linter.RuleEntry<VueVOnEventHyphenation>
|
|
6703
|
-
/**
|
|
6704
|
-
* enforce or forbid parentheses after method calls without arguments in `v-on` directives
|
|
6705
|
-
* @see https://eslint.vuejs.org/rules/v-on-function-call.html
|
|
6706
|
-
* @deprecated
|
|
6707
|
-
*/
|
|
6708
|
-
'vue/v-on-function-call'?: Linter.RuleEntry<VueVOnFunctionCall>
|
|
6709
6725
|
/**
|
|
6710
6726
|
* enforce writing style for handlers in `v-on` directives
|
|
6711
6727
|
* @see https://eslint.vuejs.org/rules/v-on-handler-style.html
|
|
@@ -6744,6 +6760,7 @@ interface RuleOptions {
|
|
|
6744
6760
|
/**
|
|
6745
6761
|
* require valid keys in model option
|
|
6746
6762
|
* @see https://eslint.vuejs.org/rules/valid-model-definition.html
|
|
6763
|
+
* @deprecated
|
|
6747
6764
|
*/
|
|
6748
6765
|
'vue/valid-model-definition'?: Linter.RuleEntry<[]>
|
|
6749
6766
|
/**
|
|
@@ -6764,6 +6781,7 @@ interface RuleOptions {
|
|
|
6764
6781
|
/**
|
|
6765
6782
|
* enforce valid `.sync` modifier on `v-bind` directives
|
|
6766
6783
|
* @see https://eslint.vuejs.org/rules/valid-v-bind-sync.html
|
|
6784
|
+
* @deprecated
|
|
6767
6785
|
*/
|
|
6768
6786
|
'vue/valid-v-bind-sync'?: Linter.RuleEntry<[]>
|
|
6769
6787
|
/**
|
|
@@ -7131,7 +7149,7 @@ type IdMatch = []|[string]|[string, {
|
|
|
7131
7149
|
// ----- implicit-arrow-linebreak -----
|
|
7132
7150
|
type ImplicitArrowLinebreak = []|[("beside" | "below")]
|
|
7133
7151
|
// ----- import/consistent-type-specifier-style -----
|
|
7134
|
-
type ImportConsistentTypeSpecifierStyle = []|[("prefer-
|
|
7152
|
+
type ImportConsistentTypeSpecifierStyle = []|[("prefer-top-level" | "prefer-inline")]
|
|
7135
7153
|
// ----- import/dynamic-import-chunkname -----
|
|
7136
7154
|
type ImportDynamicImportChunkname = []|[{
|
|
7137
7155
|
importFunctions?: string[]
|
|
@@ -9178,18 +9196,7 @@ type NodeNoRestrictedRequire = []|[(string | {
|
|
|
9178
9196
|
// ----- node/no-sync -----
|
|
9179
9197
|
type NodeNoSync = []|[{
|
|
9180
9198
|
allowAtRootLevel?: boolean
|
|
9181
|
-
ignores?:
|
|
9182
|
-
from?: "file"
|
|
9183
|
-
path?: string
|
|
9184
|
-
name?: string[]
|
|
9185
|
-
} | {
|
|
9186
|
-
from?: "lib"
|
|
9187
|
-
name?: string[]
|
|
9188
|
-
} | {
|
|
9189
|
-
from?: "package"
|
|
9190
|
-
package?: string
|
|
9191
|
-
name?: string[]
|
|
9192
|
-
})[]
|
|
9199
|
+
ignores?: string[]
|
|
9193
9200
|
}]
|
|
9194
9201
|
// ----- node/no-unpublished-bin -----
|
|
9195
9202
|
type NodeNoUnpublishedBin = []|[{
|
|
@@ -9420,8 +9427,6 @@ type PaddingLineBetweenStatements = {
|
|
|
9420
9427
|
// ----- perfectionist/sort-array-includes -----
|
|
9421
9428
|
type PerfectionistSortArrayIncludes = {
|
|
9422
9429
|
|
|
9423
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9424
|
-
|
|
9425
9430
|
fallbackSort?: {
|
|
9426
9431
|
|
|
9427
9432
|
order?: ("asc" | "desc")
|
|
@@ -9430,6 +9435,8 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9430
9435
|
[k: string]: unknown | undefined
|
|
9431
9436
|
}
|
|
9432
9437
|
|
|
9438
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9439
|
+
|
|
9433
9440
|
ignoreCase?: boolean
|
|
9434
9441
|
|
|
9435
9442
|
alphabet?: string
|
|
@@ -9444,13 +9451,21 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9444
9451
|
|
|
9445
9452
|
customGroups?: ({
|
|
9446
9453
|
|
|
9447
|
-
|
|
9454
|
+
newlinesInside?: ("always" | "never")
|
|
9455
|
+
|
|
9456
|
+
fallbackSort?: {
|
|
9457
|
+
|
|
9458
|
+
order?: ("asc" | "desc")
|
|
9459
|
+
|
|
9460
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9461
|
+
[k: string]: unknown | undefined
|
|
9462
|
+
}
|
|
9448
9463
|
|
|
9449
|
-
|
|
9464
|
+
groupName?: string
|
|
9450
9465
|
|
|
9451
|
-
order?: ("
|
|
9466
|
+
order?: ("asc" | "desc")
|
|
9452
9467
|
|
|
9453
|
-
|
|
9468
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9454
9469
|
anyOf?: {
|
|
9455
9470
|
|
|
9456
9471
|
selector?: ("literal" | "spread")
|
|
@@ -9465,13 +9480,21 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9465
9480
|
}[]
|
|
9466
9481
|
} | {
|
|
9467
9482
|
|
|
9468
|
-
|
|
9483
|
+
newlinesInside?: ("always" | "never")
|
|
9469
9484
|
|
|
9470
|
-
|
|
9485
|
+
fallbackSort?: {
|
|
9486
|
+
|
|
9487
|
+
order?: ("asc" | "desc")
|
|
9488
|
+
|
|
9489
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9490
|
+
[k: string]: unknown | undefined
|
|
9491
|
+
}
|
|
9471
9492
|
|
|
9472
|
-
|
|
9493
|
+
groupName?: string
|
|
9473
9494
|
|
|
9474
|
-
|
|
9495
|
+
order?: ("asc" | "desc")
|
|
9496
|
+
|
|
9497
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9475
9498
|
|
|
9476
9499
|
selector?: ("literal" | "spread")
|
|
9477
9500
|
|
|
@@ -9529,8 +9552,6 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9529
9552
|
// ----- perfectionist/sort-classes -----
|
|
9530
9553
|
type PerfectionistSortClasses = []|[{
|
|
9531
9554
|
|
|
9532
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9533
|
-
|
|
9534
9555
|
fallbackSort?: {
|
|
9535
9556
|
|
|
9536
9557
|
order?: ("asc" | "desc")
|
|
@@ -9539,6 +9560,8 @@ type PerfectionistSortClasses = []|[{
|
|
|
9539
9560
|
[k: string]: unknown | undefined
|
|
9540
9561
|
}
|
|
9541
9562
|
|
|
9563
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9564
|
+
|
|
9542
9565
|
ignoreCase?: boolean
|
|
9543
9566
|
|
|
9544
9567
|
alphabet?: string
|
|
@@ -9551,13 +9574,21 @@ type PerfectionistSortClasses = []|[{
|
|
|
9551
9574
|
|
|
9552
9575
|
customGroups?: ({
|
|
9553
9576
|
|
|
9554
|
-
|
|
9577
|
+
newlinesInside?: ("always" | "never")
|
|
9578
|
+
|
|
9579
|
+
fallbackSort?: {
|
|
9580
|
+
|
|
9581
|
+
order?: ("asc" | "desc")
|
|
9582
|
+
|
|
9583
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9584
|
+
[k: string]: unknown | undefined
|
|
9585
|
+
}
|
|
9555
9586
|
|
|
9556
|
-
|
|
9587
|
+
groupName?: string
|
|
9557
9588
|
|
|
9558
|
-
order?: ("
|
|
9589
|
+
order?: ("asc" | "desc")
|
|
9559
9590
|
|
|
9560
|
-
|
|
9591
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9561
9592
|
anyOf?: {
|
|
9562
9593
|
|
|
9563
9594
|
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
@@ -9590,13 +9621,21 @@ type PerfectionistSortClasses = []|[{
|
|
|
9590
9621
|
}[]
|
|
9591
9622
|
} | {
|
|
9592
9623
|
|
|
9593
|
-
|
|
9624
|
+
newlinesInside?: ("always" | "never")
|
|
9625
|
+
|
|
9626
|
+
fallbackSort?: {
|
|
9627
|
+
|
|
9628
|
+
order?: ("asc" | "desc")
|
|
9629
|
+
|
|
9630
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9631
|
+
[k: string]: unknown | undefined
|
|
9632
|
+
}
|
|
9594
9633
|
|
|
9595
|
-
|
|
9634
|
+
groupName?: string
|
|
9596
9635
|
|
|
9597
|
-
order?: ("
|
|
9636
|
+
order?: ("asc" | "desc")
|
|
9598
9637
|
|
|
9599
|
-
|
|
9638
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9600
9639
|
|
|
9601
9640
|
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
9602
9641
|
|
|
@@ -9670,8 +9709,6 @@ type PerfectionistSortClasses = []|[{
|
|
|
9670
9709
|
// ----- perfectionist/sort-decorators -----
|
|
9671
9710
|
type PerfectionistSortDecorators = []|[{
|
|
9672
9711
|
|
|
9673
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9674
|
-
|
|
9675
9712
|
fallbackSort?: {
|
|
9676
9713
|
|
|
9677
9714
|
order?: ("asc" | "desc")
|
|
@@ -9680,6 +9717,8 @@ type PerfectionistSortDecorators = []|[{
|
|
|
9680
9717
|
[k: string]: unknown | undefined
|
|
9681
9718
|
}
|
|
9682
9719
|
|
|
9720
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9721
|
+
|
|
9683
9722
|
ignoreCase?: boolean
|
|
9684
9723
|
|
|
9685
9724
|
alphabet?: string
|
|
@@ -9735,8 +9774,6 @@ type PerfectionistSortDecorators = []|[{
|
|
|
9735
9774
|
// ----- perfectionist/sort-enums -----
|
|
9736
9775
|
type PerfectionistSortEnums = []|[{
|
|
9737
9776
|
|
|
9738
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9739
|
-
|
|
9740
9777
|
fallbackSort?: {
|
|
9741
9778
|
|
|
9742
9779
|
order?: ("asc" | "desc")
|
|
@@ -9745,6 +9782,8 @@ type PerfectionistSortEnums = []|[{
|
|
|
9745
9782
|
[k: string]: unknown | undefined
|
|
9746
9783
|
}
|
|
9747
9784
|
|
|
9785
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9786
|
+
|
|
9748
9787
|
ignoreCase?: boolean
|
|
9749
9788
|
|
|
9750
9789
|
alphabet?: string
|
|
@@ -9760,13 +9799,21 @@ type PerfectionistSortEnums = []|[{
|
|
|
9760
9799
|
[k: string]: (string | string[]) | undefined
|
|
9761
9800
|
} | ({
|
|
9762
9801
|
|
|
9763
|
-
|
|
9802
|
+
newlinesInside?: ("always" | "never")
|
|
9803
|
+
|
|
9804
|
+
fallbackSort?: {
|
|
9805
|
+
|
|
9806
|
+
order?: ("asc" | "desc")
|
|
9807
|
+
|
|
9808
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9809
|
+
[k: string]: unknown | undefined
|
|
9810
|
+
}
|
|
9764
9811
|
|
|
9765
|
-
|
|
9812
|
+
groupName?: string
|
|
9766
9813
|
|
|
9767
|
-
order?: ("
|
|
9814
|
+
order?: ("asc" | "desc")
|
|
9768
9815
|
|
|
9769
|
-
|
|
9816
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9770
9817
|
anyOf?: {
|
|
9771
9818
|
|
|
9772
9819
|
elementValuePattern?: (({
|
|
@@ -9787,13 +9834,21 @@ type PerfectionistSortEnums = []|[{
|
|
|
9787
9834
|
}[]
|
|
9788
9835
|
} | {
|
|
9789
9836
|
|
|
9790
|
-
|
|
9837
|
+
newlinesInside?: ("always" | "never")
|
|
9838
|
+
|
|
9839
|
+
fallbackSort?: {
|
|
9840
|
+
|
|
9841
|
+
order?: ("asc" | "desc")
|
|
9842
|
+
|
|
9843
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9844
|
+
[k: string]: unknown | undefined
|
|
9845
|
+
}
|
|
9791
9846
|
|
|
9792
|
-
|
|
9847
|
+
groupName?: string
|
|
9793
9848
|
|
|
9794
|
-
order?: ("
|
|
9849
|
+
order?: ("asc" | "desc")
|
|
9795
9850
|
|
|
9796
|
-
|
|
9851
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9797
9852
|
|
|
9798
9853
|
elementValuePattern?: (({
|
|
9799
9854
|
pattern?: string
|
|
@@ -9849,8 +9904,6 @@ type PerfectionistSortEnums = []|[{
|
|
|
9849
9904
|
// ----- perfectionist/sort-exports -----
|
|
9850
9905
|
type PerfectionistSortExports = []|[{
|
|
9851
9906
|
|
|
9852
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9853
|
-
|
|
9854
9907
|
fallbackSort?: {
|
|
9855
9908
|
|
|
9856
9909
|
order?: ("asc" | "desc")
|
|
@@ -9859,6 +9912,8 @@ type PerfectionistSortExports = []|[{
|
|
|
9859
9912
|
[k: string]: unknown | undefined
|
|
9860
9913
|
}
|
|
9861
9914
|
|
|
9915
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9916
|
+
|
|
9862
9917
|
ignoreCase?: boolean
|
|
9863
9918
|
|
|
9864
9919
|
alphabet?: string
|
|
@@ -9899,8 +9954,6 @@ type PerfectionistSortExports = []|[{
|
|
|
9899
9954
|
// ----- perfectionist/sort-heritage-clauses -----
|
|
9900
9955
|
type PerfectionistSortHeritageClauses = []|[{
|
|
9901
9956
|
|
|
9902
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9903
|
-
|
|
9904
9957
|
fallbackSort?: {
|
|
9905
9958
|
|
|
9906
9959
|
order?: ("asc" | "desc")
|
|
@@ -9909,6 +9962,8 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
9909
9962
|
[k: string]: unknown | undefined
|
|
9910
9963
|
}
|
|
9911
9964
|
|
|
9965
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9966
|
+
|
|
9912
9967
|
ignoreCase?: boolean
|
|
9913
9968
|
|
|
9914
9969
|
alphabet?: string
|
|
@@ -9932,8 +9987,6 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
9932
9987
|
type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
|
|
9933
9988
|
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
9934
9989
|
|
|
9935
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9936
|
-
|
|
9937
9990
|
fallbackSort?: {
|
|
9938
9991
|
|
|
9939
9992
|
order?: ("asc" | "desc")
|
|
@@ -9942,6 +9995,8 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
9942
9995
|
[k: string]: unknown | undefined
|
|
9943
9996
|
}
|
|
9944
9997
|
|
|
9998
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9999
|
+
|
|
9945
10000
|
ignoreCase?: boolean
|
|
9946
10001
|
|
|
9947
10002
|
alphabet?: string
|
|
@@ -10021,8 +10076,6 @@ interface _PerfectionistSortImports_IsLineLength {
|
|
|
10021
10076
|
// ----- perfectionist/sort-interfaces -----
|
|
10022
10077
|
type PerfectionistSortInterfaces = {
|
|
10023
10078
|
|
|
10024
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10025
|
-
|
|
10026
10079
|
fallbackSort?: {
|
|
10027
10080
|
|
|
10028
10081
|
order?: ("asc" | "desc")
|
|
@@ -10031,6 +10084,8 @@ type PerfectionistSortInterfaces = {
|
|
|
10031
10084
|
[k: string]: unknown | undefined
|
|
10032
10085
|
}
|
|
10033
10086
|
|
|
10087
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10088
|
+
|
|
10034
10089
|
ignoreCase?: boolean
|
|
10035
10090
|
|
|
10036
10091
|
alphabet?: string
|
|
@@ -10044,19 +10099,36 @@ type PerfectionistSortInterfaces = {
|
|
|
10044
10099
|
[k: string]: (string | string[]) | undefined
|
|
10045
10100
|
} | ({
|
|
10046
10101
|
|
|
10047
|
-
|
|
10102
|
+
newlinesInside?: ("always" | "never")
|
|
10048
10103
|
|
|
10049
|
-
|
|
10104
|
+
fallbackSort?: {
|
|
10105
|
+
|
|
10106
|
+
order?: ("asc" | "desc")
|
|
10107
|
+
|
|
10108
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10109
|
+
sortBy?: ("name" | "value")
|
|
10110
|
+
[k: string]: unknown | undefined
|
|
10111
|
+
}
|
|
10050
10112
|
|
|
10051
|
-
|
|
10113
|
+
groupName?: string
|
|
10052
10114
|
|
|
10053
|
-
|
|
10115
|
+
order?: ("asc" | "desc")
|
|
10116
|
+
|
|
10117
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10054
10118
|
anyOf?: {
|
|
10055
10119
|
|
|
10056
10120
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
10057
10121
|
|
|
10058
10122
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
10059
10123
|
|
|
10124
|
+
elementValuePattern?: (({
|
|
10125
|
+
pattern?: string
|
|
10126
|
+
flags?: string
|
|
10127
|
+
} | string)[] | ({
|
|
10128
|
+
pattern?: string
|
|
10129
|
+
flags?: string
|
|
10130
|
+
} | string))
|
|
10131
|
+
|
|
10060
10132
|
elementNamePattern?: (({
|
|
10061
10133
|
pattern?: string
|
|
10062
10134
|
flags?: string
|
|
@@ -10064,21 +10136,39 @@ type PerfectionistSortInterfaces = {
|
|
|
10064
10136
|
pattern?: string
|
|
10065
10137
|
flags?: string
|
|
10066
10138
|
} | string))
|
|
10139
|
+
sortBy?: ("name" | "value")
|
|
10067
10140
|
}[]
|
|
10068
10141
|
} | {
|
|
10069
10142
|
|
|
10070
|
-
|
|
10143
|
+
newlinesInside?: ("always" | "never")
|
|
10071
10144
|
|
|
10072
|
-
|
|
10145
|
+
fallbackSort?: {
|
|
10146
|
+
|
|
10147
|
+
order?: ("asc" | "desc")
|
|
10148
|
+
|
|
10149
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10150
|
+
sortBy?: ("name" | "value")
|
|
10151
|
+
[k: string]: unknown | undefined
|
|
10152
|
+
}
|
|
10073
10153
|
|
|
10074
|
-
|
|
10154
|
+
groupName?: string
|
|
10075
10155
|
|
|
10076
|
-
|
|
10156
|
+
order?: ("asc" | "desc")
|
|
10157
|
+
|
|
10158
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10077
10159
|
|
|
10078
10160
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
10079
10161
|
|
|
10080
10162
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
10081
10163
|
|
|
10164
|
+
elementValuePattern?: (({
|
|
10165
|
+
pattern?: string
|
|
10166
|
+
flags?: string
|
|
10167
|
+
} | string)[] | ({
|
|
10168
|
+
pattern?: string
|
|
10169
|
+
flags?: string
|
|
10170
|
+
} | string))
|
|
10171
|
+
|
|
10082
10172
|
elementNamePattern?: (({
|
|
10083
10173
|
pattern?: string
|
|
10084
10174
|
flags?: string
|
|
@@ -10086,6 +10176,7 @@ type PerfectionistSortInterfaces = {
|
|
|
10086
10176
|
pattern?: string
|
|
10087
10177
|
flags?: string
|
|
10088
10178
|
} | string))
|
|
10179
|
+
sortBy?: ("name" | "value")
|
|
10089
10180
|
})[])
|
|
10090
10181
|
useConfigurationIf?: {
|
|
10091
10182
|
|
|
@@ -10142,6 +10233,7 @@ type PerfectionistSortInterfaces = {
|
|
|
10142
10233
|
pattern?: string
|
|
10143
10234
|
flags?: string
|
|
10144
10235
|
} | string))
|
|
10236
|
+
sortBy?: ("name" | "value")
|
|
10145
10237
|
|
|
10146
10238
|
groups?: (string | string[] | {
|
|
10147
10239
|
|
|
@@ -10151,8 +10243,6 @@ type PerfectionistSortInterfaces = {
|
|
|
10151
10243
|
// ----- perfectionist/sort-intersection-types -----
|
|
10152
10244
|
type PerfectionistSortIntersectionTypes = []|[{
|
|
10153
10245
|
|
|
10154
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10155
|
-
|
|
10156
10246
|
fallbackSort?: {
|
|
10157
10247
|
|
|
10158
10248
|
order?: ("asc" | "desc")
|
|
@@ -10161,6 +10251,8 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
10161
10251
|
[k: string]: unknown | undefined
|
|
10162
10252
|
}
|
|
10163
10253
|
|
|
10254
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10255
|
+
|
|
10164
10256
|
ignoreCase?: boolean
|
|
10165
10257
|
|
|
10166
10258
|
alphabet?: string
|
|
@@ -10206,8 +10298,6 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
10206
10298
|
// ----- perfectionist/sort-jsx-props -----
|
|
10207
10299
|
type PerfectionistSortJsxProps = {
|
|
10208
10300
|
|
|
10209
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10210
|
-
|
|
10211
10301
|
fallbackSort?: {
|
|
10212
10302
|
|
|
10213
10303
|
order?: ("asc" | "desc")
|
|
@@ -10216,6 +10306,8 @@ type PerfectionistSortJsxProps = {
|
|
|
10216
10306
|
[k: string]: unknown | undefined
|
|
10217
10307
|
}
|
|
10218
10308
|
|
|
10309
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10310
|
+
|
|
10219
10311
|
ignoreCase?: boolean
|
|
10220
10312
|
|
|
10221
10313
|
alphabet?: string
|
|
@@ -10268,8 +10360,6 @@ type PerfectionistSortJsxProps = {
|
|
|
10268
10360
|
// ----- perfectionist/sort-maps -----
|
|
10269
10361
|
type PerfectionistSortMaps = {
|
|
10270
10362
|
|
|
10271
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10272
|
-
|
|
10273
10363
|
fallbackSort?: {
|
|
10274
10364
|
|
|
10275
10365
|
order?: ("asc" | "desc")
|
|
@@ -10278,6 +10368,8 @@ type PerfectionistSortMaps = {
|
|
|
10278
10368
|
[k: string]: unknown | undefined
|
|
10279
10369
|
}
|
|
10280
10370
|
|
|
10371
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10372
|
+
|
|
10281
10373
|
ignoreCase?: boolean
|
|
10282
10374
|
|
|
10283
10375
|
alphabet?: string
|
|
@@ -10290,13 +10382,21 @@ type PerfectionistSortMaps = {
|
|
|
10290
10382
|
|
|
10291
10383
|
customGroups?: ({
|
|
10292
10384
|
|
|
10293
|
-
|
|
10385
|
+
newlinesInside?: ("always" | "never")
|
|
10386
|
+
|
|
10387
|
+
fallbackSort?: {
|
|
10388
|
+
|
|
10389
|
+
order?: ("asc" | "desc")
|
|
10390
|
+
|
|
10391
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10392
|
+
[k: string]: unknown | undefined
|
|
10393
|
+
}
|
|
10294
10394
|
|
|
10295
|
-
|
|
10395
|
+
groupName?: string
|
|
10296
10396
|
|
|
10297
|
-
order?: ("
|
|
10397
|
+
order?: ("asc" | "desc")
|
|
10298
10398
|
|
|
10299
|
-
|
|
10399
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10300
10400
|
anyOf?: {
|
|
10301
10401
|
|
|
10302
10402
|
elementNamePattern?: (({
|
|
@@ -10309,13 +10409,21 @@ type PerfectionistSortMaps = {
|
|
|
10309
10409
|
}[]
|
|
10310
10410
|
} | {
|
|
10311
10411
|
|
|
10312
|
-
|
|
10412
|
+
newlinesInside?: ("always" | "never")
|
|
10313
10413
|
|
|
10314
|
-
|
|
10414
|
+
fallbackSort?: {
|
|
10415
|
+
|
|
10416
|
+
order?: ("asc" | "desc")
|
|
10417
|
+
|
|
10418
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10419
|
+
[k: string]: unknown | undefined
|
|
10420
|
+
}
|
|
10315
10421
|
|
|
10316
|
-
|
|
10422
|
+
groupName?: string
|
|
10317
10423
|
|
|
10318
|
-
|
|
10424
|
+
order?: ("asc" | "desc")
|
|
10425
|
+
|
|
10426
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10319
10427
|
|
|
10320
10428
|
elementNamePattern?: (({
|
|
10321
10429
|
pattern?: string
|
|
@@ -10371,8 +10479,6 @@ type PerfectionistSortMaps = {
|
|
|
10371
10479
|
// ----- perfectionist/sort-modules -----
|
|
10372
10480
|
type PerfectionistSortModules = []|[{
|
|
10373
10481
|
|
|
10374
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10375
|
-
|
|
10376
10482
|
fallbackSort?: {
|
|
10377
10483
|
|
|
10378
10484
|
order?: ("asc" | "desc")
|
|
@@ -10381,6 +10487,8 @@ type PerfectionistSortModules = []|[{
|
|
|
10381
10487
|
[k: string]: unknown | undefined
|
|
10382
10488
|
}
|
|
10383
10489
|
|
|
10490
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10491
|
+
|
|
10384
10492
|
ignoreCase?: boolean
|
|
10385
10493
|
|
|
10386
10494
|
alphabet?: string
|
|
@@ -10393,13 +10501,21 @@ type PerfectionistSortModules = []|[{
|
|
|
10393
10501
|
|
|
10394
10502
|
customGroups?: ({
|
|
10395
10503
|
|
|
10396
|
-
|
|
10504
|
+
newlinesInside?: ("always" | "never")
|
|
10505
|
+
|
|
10506
|
+
fallbackSort?: {
|
|
10507
|
+
|
|
10508
|
+
order?: ("asc" | "desc")
|
|
10509
|
+
|
|
10510
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10511
|
+
[k: string]: unknown | undefined
|
|
10512
|
+
}
|
|
10397
10513
|
|
|
10398
|
-
|
|
10514
|
+
groupName?: string
|
|
10399
10515
|
|
|
10400
|
-
order?: ("
|
|
10516
|
+
order?: ("asc" | "desc")
|
|
10401
10517
|
|
|
10402
|
-
|
|
10518
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10403
10519
|
anyOf?: {
|
|
10404
10520
|
|
|
10405
10521
|
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
@@ -10424,13 +10540,21 @@ type PerfectionistSortModules = []|[{
|
|
|
10424
10540
|
}[]
|
|
10425
10541
|
} | {
|
|
10426
10542
|
|
|
10427
|
-
|
|
10543
|
+
newlinesInside?: ("always" | "never")
|
|
10544
|
+
|
|
10545
|
+
fallbackSort?: {
|
|
10546
|
+
|
|
10547
|
+
order?: ("asc" | "desc")
|
|
10548
|
+
|
|
10549
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10550
|
+
[k: string]: unknown | undefined
|
|
10551
|
+
}
|
|
10428
10552
|
|
|
10429
|
-
|
|
10553
|
+
groupName?: string
|
|
10430
10554
|
|
|
10431
|
-
order?: ("
|
|
10555
|
+
order?: ("asc" | "desc")
|
|
10432
10556
|
|
|
10433
|
-
|
|
10557
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10434
10558
|
|
|
10435
10559
|
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
10436
10560
|
|
|
@@ -10488,8 +10612,6 @@ type PerfectionistSortModules = []|[{
|
|
|
10488
10612
|
// ----- perfectionist/sort-named-exports -----
|
|
10489
10613
|
type PerfectionistSortNamedExports = []|[{
|
|
10490
10614
|
|
|
10491
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10492
|
-
|
|
10493
10615
|
fallbackSort?: {
|
|
10494
10616
|
|
|
10495
10617
|
order?: ("asc" | "desc")
|
|
@@ -10498,6 +10620,8 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
10498
10620
|
[k: string]: unknown | undefined
|
|
10499
10621
|
}
|
|
10500
10622
|
|
|
10623
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10624
|
+
|
|
10501
10625
|
ignoreCase?: boolean
|
|
10502
10626
|
|
|
10503
10627
|
alphabet?: string
|
|
@@ -10540,8 +10664,6 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
10540
10664
|
// ----- perfectionist/sort-named-imports -----
|
|
10541
10665
|
type PerfectionistSortNamedImports = []|[{
|
|
10542
10666
|
|
|
10543
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10544
|
-
|
|
10545
10667
|
fallbackSort?: {
|
|
10546
10668
|
|
|
10547
10669
|
order?: ("asc" | "desc")
|
|
@@ -10550,6 +10672,8 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
10550
10672
|
[k: string]: unknown | undefined
|
|
10551
10673
|
}
|
|
10552
10674
|
|
|
10675
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10676
|
+
|
|
10553
10677
|
ignoreCase?: boolean
|
|
10554
10678
|
|
|
10555
10679
|
alphabet?: string
|
|
@@ -10592,8 +10716,6 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
10592
10716
|
// ----- perfectionist/sort-object-types -----
|
|
10593
10717
|
type PerfectionistSortObjectTypes = {
|
|
10594
10718
|
|
|
10595
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10596
|
-
|
|
10597
10719
|
fallbackSort?: {
|
|
10598
10720
|
|
|
10599
10721
|
order?: ("asc" | "desc")
|
|
@@ -10602,6 +10724,8 @@ type PerfectionistSortObjectTypes = {
|
|
|
10602
10724
|
[k: string]: unknown | undefined
|
|
10603
10725
|
}
|
|
10604
10726
|
|
|
10727
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10728
|
+
|
|
10605
10729
|
ignoreCase?: boolean
|
|
10606
10730
|
|
|
10607
10731
|
alphabet?: string
|
|
@@ -10615,19 +10739,36 @@ type PerfectionistSortObjectTypes = {
|
|
|
10615
10739
|
[k: string]: (string | string[]) | undefined
|
|
10616
10740
|
} | ({
|
|
10617
10741
|
|
|
10618
|
-
|
|
10742
|
+
newlinesInside?: ("always" | "never")
|
|
10743
|
+
|
|
10744
|
+
fallbackSort?: {
|
|
10745
|
+
|
|
10746
|
+
order?: ("asc" | "desc")
|
|
10747
|
+
|
|
10748
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10749
|
+
sortBy?: ("name" | "value")
|
|
10750
|
+
[k: string]: unknown | undefined
|
|
10751
|
+
}
|
|
10619
10752
|
|
|
10620
|
-
|
|
10753
|
+
groupName?: string
|
|
10621
10754
|
|
|
10622
|
-
order?: ("
|
|
10755
|
+
order?: ("asc" | "desc")
|
|
10623
10756
|
|
|
10624
|
-
|
|
10757
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10625
10758
|
anyOf?: {
|
|
10626
10759
|
|
|
10627
10760
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
10628
10761
|
|
|
10629
10762
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
10630
10763
|
|
|
10764
|
+
elementValuePattern?: (({
|
|
10765
|
+
pattern?: string
|
|
10766
|
+
flags?: string
|
|
10767
|
+
} | string)[] | ({
|
|
10768
|
+
pattern?: string
|
|
10769
|
+
flags?: string
|
|
10770
|
+
} | string))
|
|
10771
|
+
|
|
10631
10772
|
elementNamePattern?: (({
|
|
10632
10773
|
pattern?: string
|
|
10633
10774
|
flags?: string
|
|
@@ -10635,21 +10776,39 @@ type PerfectionistSortObjectTypes = {
|
|
|
10635
10776
|
pattern?: string
|
|
10636
10777
|
flags?: string
|
|
10637
10778
|
} | string))
|
|
10779
|
+
sortBy?: ("name" | "value")
|
|
10638
10780
|
}[]
|
|
10639
10781
|
} | {
|
|
10640
10782
|
|
|
10641
|
-
|
|
10783
|
+
newlinesInside?: ("always" | "never")
|
|
10784
|
+
|
|
10785
|
+
fallbackSort?: {
|
|
10786
|
+
|
|
10787
|
+
order?: ("asc" | "desc")
|
|
10788
|
+
|
|
10789
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10790
|
+
sortBy?: ("name" | "value")
|
|
10791
|
+
[k: string]: unknown | undefined
|
|
10792
|
+
}
|
|
10642
10793
|
|
|
10643
|
-
|
|
10794
|
+
groupName?: string
|
|
10644
10795
|
|
|
10645
|
-
order?: ("
|
|
10796
|
+
order?: ("asc" | "desc")
|
|
10646
10797
|
|
|
10647
|
-
|
|
10798
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10648
10799
|
|
|
10649
10800
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
10650
10801
|
|
|
10651
10802
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
10652
10803
|
|
|
10804
|
+
elementValuePattern?: (({
|
|
10805
|
+
pattern?: string
|
|
10806
|
+
flags?: string
|
|
10807
|
+
} | string)[] | ({
|
|
10808
|
+
pattern?: string
|
|
10809
|
+
flags?: string
|
|
10810
|
+
} | string))
|
|
10811
|
+
|
|
10653
10812
|
elementNamePattern?: (({
|
|
10654
10813
|
pattern?: string
|
|
10655
10814
|
flags?: string
|
|
@@ -10657,6 +10816,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
10657
10816
|
pattern?: string
|
|
10658
10817
|
flags?: string
|
|
10659
10818
|
} | string))
|
|
10819
|
+
sortBy?: ("name" | "value")
|
|
10660
10820
|
})[])
|
|
10661
10821
|
useConfigurationIf?: {
|
|
10662
10822
|
|
|
@@ -10713,6 +10873,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
10713
10873
|
pattern?: string
|
|
10714
10874
|
flags?: string
|
|
10715
10875
|
} | string))
|
|
10876
|
+
sortBy?: ("name" | "value")
|
|
10716
10877
|
|
|
10717
10878
|
groups?: (string | string[] | {
|
|
10718
10879
|
|
|
@@ -10722,8 +10883,6 @@ type PerfectionistSortObjectTypes = {
|
|
|
10722
10883
|
// ----- perfectionist/sort-objects -----
|
|
10723
10884
|
type PerfectionistSortObjects = {
|
|
10724
10885
|
|
|
10725
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10726
|
-
|
|
10727
10886
|
fallbackSort?: {
|
|
10728
10887
|
|
|
10729
10888
|
order?: ("asc" | "desc")
|
|
@@ -10732,6 +10891,8 @@ type PerfectionistSortObjects = {
|
|
|
10732
10891
|
[k: string]: unknown | undefined
|
|
10733
10892
|
}
|
|
10734
10893
|
|
|
10894
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10895
|
+
|
|
10735
10896
|
ignoreCase?: boolean
|
|
10736
10897
|
|
|
10737
10898
|
alphabet?: string
|
|
@@ -10750,13 +10911,21 @@ type PerfectionistSortObjects = {
|
|
|
10750
10911
|
[k: string]: (string | string[]) | undefined
|
|
10751
10912
|
} | ({
|
|
10752
10913
|
|
|
10753
|
-
|
|
10914
|
+
newlinesInside?: ("always" | "never")
|
|
10915
|
+
|
|
10916
|
+
fallbackSort?: {
|
|
10917
|
+
|
|
10918
|
+
order?: ("asc" | "desc")
|
|
10919
|
+
|
|
10920
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10921
|
+
[k: string]: unknown | undefined
|
|
10922
|
+
}
|
|
10754
10923
|
|
|
10755
|
-
|
|
10924
|
+
groupName?: string
|
|
10756
10925
|
|
|
10757
|
-
order?: ("
|
|
10926
|
+
order?: ("asc" | "desc")
|
|
10758
10927
|
|
|
10759
|
-
|
|
10928
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10760
10929
|
anyOf?: {
|
|
10761
10930
|
|
|
10762
10931
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
@@ -10781,13 +10950,21 @@ type PerfectionistSortObjects = {
|
|
|
10781
10950
|
}[]
|
|
10782
10951
|
} | {
|
|
10783
10952
|
|
|
10784
|
-
|
|
10953
|
+
newlinesInside?: ("always" | "never")
|
|
10785
10954
|
|
|
10786
|
-
|
|
10955
|
+
fallbackSort?: {
|
|
10956
|
+
|
|
10957
|
+
order?: ("asc" | "desc")
|
|
10958
|
+
|
|
10959
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10960
|
+
[k: string]: unknown | undefined
|
|
10961
|
+
}
|
|
10787
10962
|
|
|
10788
|
-
|
|
10963
|
+
groupName?: string
|
|
10789
10964
|
|
|
10790
|
-
|
|
10965
|
+
order?: ("asc" | "desc")
|
|
10966
|
+
|
|
10967
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10791
10968
|
|
|
10792
10969
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
10793
10970
|
|
|
@@ -10877,8 +11054,6 @@ type PerfectionistSortObjects = {
|
|
|
10877
11054
|
// ----- perfectionist/sort-sets -----
|
|
10878
11055
|
type PerfectionistSortSets = {
|
|
10879
11056
|
|
|
10880
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10881
|
-
|
|
10882
11057
|
fallbackSort?: {
|
|
10883
11058
|
|
|
10884
11059
|
order?: ("asc" | "desc")
|
|
@@ -10887,6 +11062,8 @@ type PerfectionistSortSets = {
|
|
|
10887
11062
|
[k: string]: unknown | undefined
|
|
10888
11063
|
}
|
|
10889
11064
|
|
|
11065
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11066
|
+
|
|
10890
11067
|
ignoreCase?: boolean
|
|
10891
11068
|
|
|
10892
11069
|
alphabet?: string
|
|
@@ -10901,13 +11078,21 @@ type PerfectionistSortSets = {
|
|
|
10901
11078
|
|
|
10902
11079
|
customGroups?: ({
|
|
10903
11080
|
|
|
10904
|
-
|
|
11081
|
+
newlinesInside?: ("always" | "never")
|
|
11082
|
+
|
|
11083
|
+
fallbackSort?: {
|
|
11084
|
+
|
|
11085
|
+
order?: ("asc" | "desc")
|
|
11086
|
+
|
|
11087
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11088
|
+
[k: string]: unknown | undefined
|
|
11089
|
+
}
|
|
10905
11090
|
|
|
10906
|
-
|
|
11091
|
+
groupName?: string
|
|
10907
11092
|
|
|
10908
|
-
order?: ("
|
|
11093
|
+
order?: ("asc" | "desc")
|
|
10909
11094
|
|
|
10910
|
-
|
|
11095
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10911
11096
|
anyOf?: {
|
|
10912
11097
|
|
|
10913
11098
|
selector?: ("literal" | "spread")
|
|
@@ -10922,13 +11107,21 @@ type PerfectionistSortSets = {
|
|
|
10922
11107
|
}[]
|
|
10923
11108
|
} | {
|
|
10924
11109
|
|
|
10925
|
-
|
|
11110
|
+
newlinesInside?: ("always" | "never")
|
|
11111
|
+
|
|
11112
|
+
fallbackSort?: {
|
|
11113
|
+
|
|
11114
|
+
order?: ("asc" | "desc")
|
|
11115
|
+
|
|
11116
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11117
|
+
[k: string]: unknown | undefined
|
|
11118
|
+
}
|
|
10926
11119
|
|
|
10927
|
-
|
|
11120
|
+
groupName?: string
|
|
10928
11121
|
|
|
10929
|
-
order?: ("
|
|
11122
|
+
order?: ("asc" | "desc")
|
|
10930
11123
|
|
|
10931
|
-
|
|
11124
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10932
11125
|
|
|
10933
11126
|
selector?: ("literal" | "spread")
|
|
10934
11127
|
|
|
@@ -10986,8 +11179,6 @@ type PerfectionistSortSets = {
|
|
|
10986
11179
|
// ----- perfectionist/sort-switch-case -----
|
|
10987
11180
|
type PerfectionistSortSwitchCase = []|[{
|
|
10988
11181
|
|
|
10989
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10990
|
-
|
|
10991
11182
|
fallbackSort?: {
|
|
10992
11183
|
|
|
10993
11184
|
order?: ("asc" | "desc")
|
|
@@ -10996,6 +11187,8 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
10996
11187
|
[k: string]: unknown | undefined
|
|
10997
11188
|
}
|
|
10998
11189
|
|
|
11190
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11191
|
+
|
|
10999
11192
|
ignoreCase?: boolean
|
|
11000
11193
|
|
|
11001
11194
|
alphabet?: string
|
|
@@ -11009,8 +11202,6 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
11009
11202
|
// ----- perfectionist/sort-union-types -----
|
|
11010
11203
|
type PerfectionistSortUnionTypes = []|[{
|
|
11011
11204
|
|
|
11012
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11013
|
-
|
|
11014
11205
|
fallbackSort?: {
|
|
11015
11206
|
|
|
11016
11207
|
order?: ("asc" | "desc")
|
|
@@ -11019,6 +11210,8 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
11019
11210
|
[k: string]: unknown | undefined
|
|
11020
11211
|
}
|
|
11021
11212
|
|
|
11213
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11214
|
+
|
|
11022
11215
|
ignoreCase?: boolean
|
|
11023
11216
|
|
|
11024
11217
|
alphabet?: string
|
|
@@ -11064,8 +11257,6 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
11064
11257
|
// ----- perfectionist/sort-variable-declarations -----
|
|
11065
11258
|
type PerfectionistSortVariableDeclarations = []|[{
|
|
11066
11259
|
|
|
11067
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11068
|
-
|
|
11069
11260
|
fallbackSort?: {
|
|
11070
11261
|
|
|
11071
11262
|
order?: ("asc" | "desc")
|
|
@@ -11074,6 +11265,8 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
11074
11265
|
[k: string]: unknown | undefined
|
|
11075
11266
|
}
|
|
11076
11267
|
|
|
11268
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11269
|
+
|
|
11077
11270
|
ignoreCase?: boolean
|
|
11078
11271
|
|
|
11079
11272
|
alphabet?: string
|
|
@@ -11564,10 +11757,21 @@ type SvelteNoUnknownStyleDirectiveProperty = []|[{
|
|
|
11564
11757
|
ignoreProperties?: [string, ...(string)[]]
|
|
11565
11758
|
ignorePrefixed?: boolean
|
|
11566
11759
|
}]
|
|
11760
|
+
// ----- svelte/no-unnecessary-state-wrap -----
|
|
11761
|
+
type SvelteNoUnnecessaryStateWrap = []|[{
|
|
11762
|
+
additionalReactiveClasses?: string[]
|
|
11763
|
+
allowReassign?: boolean
|
|
11764
|
+
}]
|
|
11567
11765
|
// ----- svelte/no-unused-class-name -----
|
|
11568
11766
|
type SvelteNoUnusedClassName = []|[{
|
|
11569
11767
|
allowedClassNames?: string[]
|
|
11570
11768
|
}]
|
|
11769
|
+
// ----- svelte/no-unused-props -----
|
|
11770
|
+
type SvelteNoUnusedProps = []|[{
|
|
11771
|
+
checkImportedTypes?: boolean
|
|
11772
|
+
ignoreTypePatterns?: string[]
|
|
11773
|
+
ignorePropertyPatterns?: string[]
|
|
11774
|
+
}]
|
|
11571
11775
|
// ----- svelte/no-useless-mustaches -----
|
|
11572
11776
|
type SvelteNoUselessMustaches = []|[{
|
|
11573
11777
|
ignoreIncludesComment?: boolean
|
|
@@ -11581,6 +11785,7 @@ type SveltePreferClassDirective = []|[{
|
|
|
11581
11785
|
type SveltePreferConst = []|[{
|
|
11582
11786
|
destructuring?: ("any" | "all")
|
|
11583
11787
|
ignoreReadBeforeAssign?: boolean
|
|
11788
|
+
excludedRunes?: string[]
|
|
11584
11789
|
}]
|
|
11585
11790
|
// ----- svelte/shorthand-attribute -----
|
|
11586
11791
|
type SvelteShorthandAttribute = []|[{
|
|
@@ -11929,6 +12134,8 @@ type TsExplicitModuleBoundaryTypes = []|[{
|
|
|
11929
12134
|
|
|
11930
12135
|
allowHigherOrderFunctions?: boolean
|
|
11931
12136
|
|
|
12137
|
+
allowOverloadFunctions?: boolean
|
|
12138
|
+
|
|
11932
12139
|
allowTypedFunctionExpressions?: boolean
|
|
11933
12140
|
}]
|
|
11934
12141
|
// ----- ts/init-declarations -----
|
|
@@ -12960,6 +13167,8 @@ type TsUnboundMethod = []|[{
|
|
|
12960
13167
|
type TsUnifiedSignatures = []|[{
|
|
12961
13168
|
|
|
12962
13169
|
ignoreDifferentlyNamedParameters?: boolean
|
|
13170
|
+
|
|
13171
|
+
ignoreOverloadsWithDifferentJSDoc?: boolean
|
|
12963
13172
|
}]
|
|
12964
13173
|
// ----- unicode-bom -----
|
|
12965
13174
|
type UnicodeBom = []|[("always" | "never")]
|
|
@@ -13343,16 +13552,10 @@ type VueComponentNameInTemplateCasing = []|[("PascalCase" | "kebab-case")]|[("Pa
|
|
|
13343
13552
|
}]
|
|
13344
13553
|
// ----- vue/component-options-name-casing -----
|
|
13345
13554
|
type VueComponentOptionsNameCasing = []|[("camelCase" | "kebab-case" | "PascalCase")]
|
|
13346
|
-
// ----- vue/component-tags-order -----
|
|
13347
|
-
type VueComponentTagsOrder = []|[{
|
|
13348
|
-
order?: (string | string[])[]
|
|
13349
|
-
}]
|
|
13350
13555
|
// ----- vue/custom-event-name-casing -----
|
|
13351
|
-
type VueCustomEventNameCasing =
|
|
13352
|
-
ignores?: string[]
|
|
13353
|
-
}] | []|[{
|
|
13556
|
+
type VueCustomEventNameCasing = []|[("kebab-case" | "camelCase")]|[("kebab-case" | "camelCase"), {
|
|
13354
13557
|
ignores?: string[]
|
|
13355
|
-
}]
|
|
13558
|
+
}]
|
|
13356
13559
|
// ----- vue/define-emits-declaration -----
|
|
13357
13560
|
type VueDefineEmitsDeclaration = []|[("type-based" | "type-literal" | "runtime")]
|
|
13358
13561
|
// ----- vue/define-macros-order -----
|
|
@@ -13983,6 +14186,14 @@ type VueNoExtraParens = ([]|["functions"] | []|["all"]|["all", {
|
|
|
13983
14186
|
enforceForFunctionPrototypeMethods?: boolean
|
|
13984
14187
|
allowParensAfterCommentPattern?: string
|
|
13985
14188
|
}])
|
|
14189
|
+
// ----- vue/no-implicit-coercion -----
|
|
14190
|
+
type VueNoImplicitCoercion = []|[{
|
|
14191
|
+
boolean?: boolean
|
|
14192
|
+
number?: boolean
|
|
14193
|
+
string?: boolean
|
|
14194
|
+
disallowTemplateShorthand?: boolean
|
|
14195
|
+
allow?: ("~" | "!!" | "+" | "- -" | "-" | "*")[]
|
|
14196
|
+
}]
|
|
13986
14197
|
// ----- vue/no-irregular-whitespace -----
|
|
13987
14198
|
type VueNoIrregularWhitespace = []|[{
|
|
13988
14199
|
skipComments?: boolean
|
|
@@ -14274,9 +14485,13 @@ type VuePaddingLinesInComponentDefinition = []|[(("always" | "never") | {
|
|
|
14274
14485
|
groupSingleLineProperties?: boolean
|
|
14275
14486
|
})]
|
|
14276
14487
|
// ----- vue/prefer-true-attribute-shorthand -----
|
|
14277
|
-
type VuePreferTrueAttributeShorthand = []|[("always" | "never")]
|
|
14488
|
+
type VuePreferTrueAttributeShorthand = []|[("always" | "never")]|[("always" | "never"), {
|
|
14489
|
+
except?: string[]
|
|
14490
|
+
}]
|
|
14278
14491
|
// ----- vue/prop-name-casing -----
|
|
14279
|
-
type VuePropNameCasing = []|[("camelCase" | "snake_case")]
|
|
14492
|
+
type VuePropNameCasing = []|[("camelCase" | "snake_case")]|[("camelCase" | "snake_case"), {
|
|
14493
|
+
ignoreProps?: string[]
|
|
14494
|
+
}]
|
|
14280
14495
|
// ----- vue/quote-props -----
|
|
14281
14496
|
type VueQuoteProps = ([]|[("always" | "as-needed" | "consistent" | "consistent-as-needed")] | []|[("always" | "as-needed" | "consistent" | "consistent-as-needed")]|[("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
|
|
14282
14497
|
keywords?: boolean
|
|
@@ -14341,7 +14556,6 @@ type VueSortKeys = []|[("asc" | "desc")]|[("asc" | "desc"), {
|
|
|
14341
14556
|
ignoreGrandchildrenOf?: unknown[]
|
|
14342
14557
|
minKeys?: number
|
|
14343
14558
|
natural?: boolean
|
|
14344
|
-
runOutsideVue?: boolean
|
|
14345
14559
|
}]
|
|
14346
14560
|
// ----- vue/space-in-parens -----
|
|
14347
14561
|
type VueSpaceInParens = []|[("always" | "never")]|[("always" | "never"), {
|
|
@@ -14379,10 +14593,6 @@ type VueVOnEventHyphenation = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
14379
14593
|
})[]
|
|
14380
14594
|
ignoreTags?: string[]
|
|
14381
14595
|
}]
|
|
14382
|
-
// ----- vue/v-on-function-call -----
|
|
14383
|
-
type VueVOnFunctionCall = []|[("always" | "never")]|[("always" | "never"), {
|
|
14384
|
-
ignoreIncludesComment?: boolean
|
|
14385
|
-
}]
|
|
14386
14596
|
// ----- vue/v-on-handler-style -----
|
|
14387
14597
|
type VueVOnHandlerStyle = []|[(("inline" | "inline-function") | ["method", ("inline" | "inline-function")])]|[(("inline" | "inline-function") | ["method", ("inline" | "inline-function")]), {
|
|
14388
14598
|
ignoreIncludesComment?: boolean
|
|
@@ -14550,6 +14760,12 @@ interface OptionsConfig extends OptionsComponentExts {
|
|
|
14550
14760
|
* @default true
|
|
14551
14761
|
*/
|
|
14552
14762
|
jsonc?: boolean | OptionsOverrides;
|
|
14763
|
+
/**
|
|
14764
|
+
* Enable YAML support.
|
|
14765
|
+
*
|
|
14766
|
+
* @default true
|
|
14767
|
+
*/
|
|
14768
|
+
yaml?: boolean | OptionsOverrides;
|
|
14553
14769
|
/**
|
|
14554
14770
|
* Enable react rules.
|
|
14555
14771
|
*
|