@coderwyd/eslint-config 2.7.0 → 2.7.2
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.cjs +8 -9
- package/dist/cli.js +8 -9
- package/dist/index.cjs +1390 -1385
- package/dist/index.d.cts +322 -77
- package/dist/index.d.ts +322 -77
- package/dist/index.js +1402 -1397
- package/package.json +20 -21
package/dist/index.d.cts
CHANGED
|
@@ -15,6 +15,11 @@ interface RuleOptions {
|
|
|
15
15
|
* @see https://eslint.org/docs/latest/rules/accessor-pairs
|
|
16
16
|
*/
|
|
17
17
|
'accessor-pairs'?: Linter.RuleEntry<AccessorPairs>
|
|
18
|
+
/**
|
|
19
|
+
* Having line breaks styles to object, array and named imports
|
|
20
|
+
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/consistent-chaining.md
|
|
21
|
+
*/
|
|
22
|
+
'antfu/consistent-chaining'?: Linter.RuleEntry<AntfuConsistentChaining>
|
|
18
23
|
/**
|
|
19
24
|
* Having line breaks styles to object, array and named imports
|
|
20
25
|
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/consistent-list-newline.md
|
|
@@ -22,7 +27,7 @@ interface RuleOptions {
|
|
|
22
27
|
'antfu/consistent-list-newline'?: Linter.RuleEntry<AntfuConsistentListNewline>
|
|
23
28
|
/**
|
|
24
29
|
* Enforce Anthony's style of curly bracket
|
|
25
|
-
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/curly.
|
|
30
|
+
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/curly.md
|
|
26
31
|
*/
|
|
27
32
|
'antfu/curly'?: Linter.RuleEntry<[]>
|
|
28
33
|
/**
|
|
@@ -37,7 +42,7 @@ interface RuleOptions {
|
|
|
37
42
|
'antfu/import-dedupe'?: Linter.RuleEntry<[]>
|
|
38
43
|
/**
|
|
39
44
|
* Enforce consistent indentation in `unindent` template tag
|
|
40
|
-
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/indent-unindent.
|
|
45
|
+
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/indent-unindent.md
|
|
41
46
|
*/
|
|
42
47
|
'antfu/indent-unindent'?: Linter.RuleEntry<AntfuIndentUnindent>
|
|
43
48
|
/**
|
|
@@ -382,233 +387,233 @@ interface RuleOptions {
|
|
|
382
387
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
383
388
|
/**
|
|
384
389
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
385
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
390
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/consistent-type-specifier-style.md
|
|
386
391
|
*/
|
|
387
392
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
388
393
|
/**
|
|
389
394
|
* Ensure a default export is present, given a default import.
|
|
390
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
395
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/default.md
|
|
391
396
|
*/
|
|
392
397
|
'import/default'?: Linter.RuleEntry<[]>
|
|
393
398
|
/**
|
|
394
399
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
395
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
400
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/dynamic-import-chunkname.md
|
|
396
401
|
*/
|
|
397
402
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
398
403
|
/**
|
|
399
404
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
400
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
405
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/export.md
|
|
401
406
|
*/
|
|
402
407
|
'import/export'?: Linter.RuleEntry<[]>
|
|
403
408
|
/**
|
|
404
409
|
* Ensure all exports appear after other statements.
|
|
405
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
410
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/exports-last.md
|
|
406
411
|
*/
|
|
407
412
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
408
413
|
/**
|
|
409
414
|
* Ensure consistent use of file extension within the import path.
|
|
410
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
415
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/extensions.md
|
|
411
416
|
*/
|
|
412
417
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
413
418
|
/**
|
|
414
419
|
* Ensure all imports appear before other statements.
|
|
415
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
420
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/first.md
|
|
416
421
|
*/
|
|
417
422
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
418
423
|
/**
|
|
419
424
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
420
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
425
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/group-exports.md
|
|
421
426
|
*/
|
|
422
427
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
423
428
|
/**
|
|
424
429
|
* Replaced by `import-x/first`.
|
|
425
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
430
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/imports-first.md
|
|
426
431
|
* @deprecated
|
|
427
432
|
*/
|
|
428
433
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
429
434
|
/**
|
|
430
435
|
* Enforce the maximum number of dependencies a module can have.
|
|
431
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
436
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/max-dependencies.md
|
|
432
437
|
*/
|
|
433
438
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
434
439
|
/**
|
|
435
440
|
* Ensure named imports correspond to a named export in the remote file.
|
|
436
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
441
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/named.md
|
|
437
442
|
*/
|
|
438
443
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
439
444
|
/**
|
|
440
445
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
441
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
446
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/namespace.md
|
|
442
447
|
*/
|
|
443
448
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
444
449
|
/**
|
|
445
450
|
* Enforce a newline after import statements.
|
|
446
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
451
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/newline-after-import.md
|
|
447
452
|
*/
|
|
448
453
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
449
454
|
/**
|
|
450
455
|
* Forbid import of modules using absolute paths.
|
|
451
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
456
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-absolute-path.md
|
|
452
457
|
*/
|
|
453
458
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
454
459
|
/**
|
|
455
460
|
* Forbid AMD `require` and `define` calls.
|
|
456
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
461
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-amd.md
|
|
457
462
|
*/
|
|
458
463
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
459
464
|
/**
|
|
460
465
|
* Forbid anonymous values as default exports.
|
|
461
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
466
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-anonymous-default-export.md
|
|
462
467
|
*/
|
|
463
468
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
464
469
|
/**
|
|
465
470
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
466
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
471
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-commonjs.md
|
|
467
472
|
*/
|
|
468
473
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
469
474
|
/**
|
|
470
475
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
471
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
476
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-cycle.md
|
|
472
477
|
*/
|
|
473
478
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
474
479
|
/**
|
|
475
480
|
* Forbid default exports.
|
|
476
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
481
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-default-export.md
|
|
477
482
|
*/
|
|
478
483
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
479
484
|
/**
|
|
480
485
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
481
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
486
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-deprecated.md
|
|
482
487
|
*/
|
|
483
488
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
484
489
|
/**
|
|
485
490
|
* Forbid repeated import of the same module in multiple places.
|
|
486
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
491
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-duplicates.md
|
|
487
492
|
*/
|
|
488
493
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
489
494
|
/**
|
|
490
495
|
* Forbid `require()` calls with expressions.
|
|
491
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
496
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-dynamic-require.md
|
|
492
497
|
*/
|
|
493
498
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
494
499
|
/**
|
|
495
500
|
* Forbid empty named import blocks.
|
|
496
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
501
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-empty-named-blocks.md
|
|
497
502
|
*/
|
|
498
503
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
499
504
|
/**
|
|
500
505
|
* Forbid the use of extraneous packages.
|
|
501
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
506
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-extraneous-dependencies.md
|
|
502
507
|
*/
|
|
503
508
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
504
509
|
/**
|
|
505
510
|
* Forbid import statements with CommonJS module.exports.
|
|
506
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
511
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-import-module-exports.md
|
|
507
512
|
*/
|
|
508
513
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
509
514
|
/**
|
|
510
515
|
* Forbid importing the submodules of other modules.
|
|
511
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
516
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-internal-modules.md
|
|
512
517
|
*/
|
|
513
518
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
514
519
|
/**
|
|
515
520
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
516
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
521
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-mutable-exports.md
|
|
517
522
|
*/
|
|
518
523
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
519
524
|
/**
|
|
520
525
|
* Forbid use of exported name as identifier of default export.
|
|
521
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
526
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-named-as-default.md
|
|
522
527
|
*/
|
|
523
528
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
524
529
|
/**
|
|
525
530
|
* Forbid use of exported name as property of default export.
|
|
526
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
531
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-named-as-default-member.md
|
|
527
532
|
*/
|
|
528
533
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
529
534
|
/**
|
|
530
535
|
* Forbid named default exports.
|
|
531
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
536
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-named-default.md
|
|
532
537
|
*/
|
|
533
538
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
534
539
|
/**
|
|
535
540
|
* Forbid named exports.
|
|
536
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
541
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-named-export.md
|
|
537
542
|
*/
|
|
538
543
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
539
544
|
/**
|
|
540
545
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
541
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
546
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-namespace.md
|
|
542
547
|
*/
|
|
543
548
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
544
549
|
/**
|
|
545
550
|
* Forbid Node.js builtin modules.
|
|
546
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
551
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-nodejs-modules.md
|
|
547
552
|
*/
|
|
548
553
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
549
554
|
/**
|
|
550
555
|
* Forbid importing packages through relative paths.
|
|
551
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
556
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-relative-packages.md
|
|
552
557
|
*/
|
|
553
558
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
554
559
|
/**
|
|
555
560
|
* Forbid importing modules from parent directories.
|
|
556
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
561
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-relative-parent-imports.md
|
|
557
562
|
*/
|
|
558
563
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
559
564
|
/**
|
|
560
565
|
* Forbid importing a default export by a different name.
|
|
561
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
566
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-rename-default.md
|
|
562
567
|
*/
|
|
563
568
|
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
|
|
564
569
|
/**
|
|
565
570
|
* Enforce which files can be imported in a given folder.
|
|
566
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
571
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-restricted-paths.md
|
|
567
572
|
*/
|
|
568
573
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
569
574
|
/**
|
|
570
575
|
* Forbid a module from importing itself.
|
|
571
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
576
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-self-import.md
|
|
572
577
|
*/
|
|
573
578
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
574
579
|
/**
|
|
575
580
|
* Forbid unassigned imports.
|
|
576
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
581
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-unassigned-import.md
|
|
577
582
|
*/
|
|
578
583
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
579
584
|
/**
|
|
580
585
|
* Ensure imports point to a file/module that can be resolved.
|
|
581
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
586
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-unresolved.md
|
|
582
587
|
*/
|
|
583
588
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
584
589
|
/**
|
|
585
590
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
586
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
591
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-unused-modules.md
|
|
587
592
|
*/
|
|
588
593
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
589
594
|
/**
|
|
590
595
|
* Forbid unnecessary path segments in import and require statements.
|
|
591
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
596
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-useless-path-segments.md
|
|
592
597
|
*/
|
|
593
598
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
594
599
|
/**
|
|
595
600
|
* Forbid webpack loader syntax in imports.
|
|
596
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
601
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-webpack-loader-syntax.md
|
|
597
602
|
*/
|
|
598
603
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
599
604
|
/**
|
|
600
605
|
* Enforce a convention in module import order.
|
|
601
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
606
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/order.md
|
|
602
607
|
*/
|
|
603
608
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
604
609
|
/**
|
|
605
610
|
* Prefer a default export if module exports a single name or multiple names.
|
|
606
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
611
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/prefer-default-export.md
|
|
607
612
|
*/
|
|
608
613
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
609
614
|
/**
|
|
610
615
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
611
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
616
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/unambiguous.md
|
|
612
617
|
*/
|
|
613
618
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
614
619
|
/**
|
|
@@ -2408,6 +2413,11 @@ interface RuleOptions {
|
|
|
2408
2413
|
* @see https://perfectionist.dev/rules/sort-objects
|
|
2409
2414
|
*/
|
|
2410
2415
|
'perfectionist/sort-objects'?: Linter.RuleEntry<PerfectionistSortObjects>
|
|
2416
|
+
/**
|
|
2417
|
+
* Enforce sorted sets.
|
|
2418
|
+
* @see https://perfectionist.dev/rules/sort-sets
|
|
2419
|
+
*/
|
|
2420
|
+
'perfectionist/sort-sets'?: Linter.RuleEntry<PerfectionistSortSets>
|
|
2411
2421
|
/**
|
|
2412
2422
|
* Enforce sorted Svelte attributes.
|
|
2413
2423
|
* @see https://perfectionist.dev/rules/sort-svelte-attributes
|
|
@@ -2577,18 +2587,13 @@ interface RuleOptions {
|
|
|
2577
2587
|
*/
|
|
2578
2588
|
'react-dom/no-unsafe-target-blank'?: Linter.RuleEntry<[]>
|
|
2579
2589
|
/**
|
|
2580
|
-
* enforce custom hooks
|
|
2581
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-
|
|
2590
|
+
* enforce custom hooks to use at least one other hook inside
|
|
2591
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-redundant-custom-hook
|
|
2582
2592
|
*/
|
|
2583
2593
|
'react-hooks-extra/ensure-custom-hooks-using-other-hooks'?: Linter.RuleEntry<[]>
|
|
2584
2594
|
/**
|
|
2585
|
-
*
|
|
2586
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-
|
|
2587
|
-
*/
|
|
2588
|
-
'react-hooks-extra/ensure-use-callback-has-non-empty-deps'?: Linter.RuleEntry<[]>
|
|
2589
|
-
/**
|
|
2590
|
-
* enforce 'useMemo' has non-empty dependencies array
|
|
2591
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-ensure-use-memo-has-non-empty-deps
|
|
2595
|
+
* disallow unnecessary usage of 'useMemo'
|
|
2596
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-memo
|
|
2592
2597
|
*/
|
|
2593
2598
|
'react-hooks-extra/ensure-use-memo-has-non-empty-deps'?: Linter.RuleEntry<[]>
|
|
2594
2599
|
/**
|
|
@@ -2597,10 +2602,25 @@ interface RuleOptions {
|
|
|
2597
2602
|
*/
|
|
2598
2603
|
'react-hooks-extra/no-direct-set-state-in-use-effect'?: Linter.RuleEntry<[]>
|
|
2599
2604
|
/**
|
|
2600
|
-
* disallow direct calls to the 'set' function of 'useState' in '
|
|
2601
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-
|
|
2605
|
+
* disallow direct calls to the 'set' function of 'useState' in 'useEffect'
|
|
2606
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-effect
|
|
2602
2607
|
*/
|
|
2603
2608
|
'react-hooks-extra/no-direct-set-state-in-use-layout-effect'?: Linter.RuleEntry<[]>
|
|
2609
|
+
/**
|
|
2610
|
+
* enforce custom hooks to use at least one other hook inside
|
|
2611
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-redundant-custom-hook
|
|
2612
|
+
*/
|
|
2613
|
+
'react-hooks-extra/no-redundant-custom-hook'?: Linter.RuleEntry<[]>
|
|
2614
|
+
/**
|
|
2615
|
+
* disallow unnecessary usage of 'useCallback'
|
|
2616
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-callback
|
|
2617
|
+
*/
|
|
2618
|
+
'react-hooks-extra/no-unnecessary-use-callback'?: Linter.RuleEntry<[]>
|
|
2619
|
+
/**
|
|
2620
|
+
* disallow unnecessary usage of 'useMemo'
|
|
2621
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-memo
|
|
2622
|
+
*/
|
|
2623
|
+
'react-hooks-extra/no-unnecessary-use-memo'?: Linter.RuleEntry<[]>
|
|
2604
2624
|
/**
|
|
2605
2625
|
* disallow function calls in 'useState' that aren't wrapped in an initializer function
|
|
2606
2626
|
* @see https://eslint-react.xyz/docs/rules/hooks-extra-prefer-use-state-lazy-initialization
|
|
@@ -3291,7 +3311,7 @@ interface RuleOptions {
|
|
|
3291
3311
|
* Enforce the use of `u` or `v` flag on RegExp
|
|
3292
3312
|
* @see https://eslint.org/docs/latest/rules/require-unicode-regexp
|
|
3293
3313
|
*/
|
|
3294
|
-
'require-unicode-regexp'?: Linter.RuleEntry<
|
|
3314
|
+
'require-unicode-regexp'?: Linter.RuleEntry<RequireUnicodeRegexp>
|
|
3295
3315
|
/**
|
|
3296
3316
|
* Require generator functions to contain `yield`
|
|
3297
3317
|
* @see https://eslint.org/docs/latest/rules/require-yield
|
|
@@ -6031,7 +6051,7 @@ interface RuleOptions {
|
|
|
6031
6051
|
*/
|
|
6032
6052
|
'vue/define-emits-declaration'?: Linter.RuleEntry<VueDefineEmitsDeclaration>
|
|
6033
6053
|
/**
|
|
6034
|
-
* enforce order of
|
|
6054
|
+
* enforce order of compiler macros (`defineProps`, `defineEmits`, etc.)
|
|
6035
6055
|
* @see https://eslint.vuejs.org/rules/define-macros-order.html
|
|
6036
6056
|
*/
|
|
6037
6057
|
'vue/define-macros-order'?: Linter.RuleEntry<VueDefineMacrosOrder>
|
|
@@ -6160,6 +6180,16 @@ interface RuleOptions {
|
|
|
6160
6180
|
* @see https://eslint.vuejs.org/rules/max-lines-per-block.html
|
|
6161
6181
|
*/
|
|
6162
6182
|
'vue/max-lines-per-block'?: Linter.RuleEntry<VueMaxLinesPerBlock>
|
|
6183
|
+
/**
|
|
6184
|
+
* enforce maximum number of props in Vue component
|
|
6185
|
+
* @see https://eslint.vuejs.org/rules/max-props.html
|
|
6186
|
+
*/
|
|
6187
|
+
'vue/max-props'?: Linter.RuleEntry<VueMaxProps>
|
|
6188
|
+
/**
|
|
6189
|
+
* enforce maximum depth of template
|
|
6190
|
+
* @see https://eslint.vuejs.org/rules/max-template-depth.html
|
|
6191
|
+
*/
|
|
6192
|
+
'vue/max-template-depth'?: Linter.RuleEntry<VueMaxTemplateDepth>
|
|
6163
6193
|
/**
|
|
6164
6194
|
* require component names to be always multi-word
|
|
6165
6195
|
* @see https://eslint.vuejs.org/rules/multi-word-component-names.html
|
|
@@ -6216,7 +6246,7 @@ interface RuleOptions {
|
|
|
6216
6246
|
*/
|
|
6217
6247
|
'vue/no-child-content'?: Linter.RuleEntry<VueNoChildContent>
|
|
6218
6248
|
/**
|
|
6219
|
-
* disallow accessing computed properties in `data
|
|
6249
|
+
* disallow accessing computed properties in `data`
|
|
6220
6250
|
* @see https://eslint.vuejs.org/rules/no-computed-properties-in-data.html
|
|
6221
6251
|
*/
|
|
6222
6252
|
'vue/no-computed-properties-in-data'?: Linter.RuleEntry<[]>
|
|
@@ -6764,7 +6794,7 @@ interface RuleOptions {
|
|
|
6764
6794
|
*/
|
|
6765
6795
|
'vue/padding-lines-in-component-definition'?: Linter.RuleEntry<VuePaddingLinesInComponentDefinition>
|
|
6766
6796
|
/**
|
|
6767
|
-
* enforce use of `defineOptions` instead of default export
|
|
6797
|
+
* enforce use of `defineOptions` instead of default export
|
|
6768
6798
|
* @see https://eslint.vuejs.org/rules/prefer-define-options.html
|
|
6769
6799
|
*/
|
|
6770
6800
|
'vue/prefer-define-options'?: Linter.RuleEntry<[]>
|
|
@@ -6808,6 +6838,11 @@ interface RuleOptions {
|
|
|
6808
6838
|
* @see https://eslint.vuejs.org/rules/require-component-is.html
|
|
6809
6839
|
*/
|
|
6810
6840
|
'vue/require-component-is'?: Linter.RuleEntry<[]>
|
|
6841
|
+
/**
|
|
6842
|
+
* require components to be the default export
|
|
6843
|
+
* @see https://eslint.vuejs.org/rules/require-default-export.html
|
|
6844
|
+
*/
|
|
6845
|
+
'vue/require-default-export'?: Linter.RuleEntry<[]>
|
|
6811
6846
|
/**
|
|
6812
6847
|
* require default value for props
|
|
6813
6848
|
* @see https://eslint.vuejs.org/rules/require-default-prop.html
|
|
@@ -6877,7 +6912,7 @@ interface RuleOptions {
|
|
|
6877
6912
|
* require control the display of the content inside `<transition>`
|
|
6878
6913
|
* @see https://eslint.vuejs.org/rules/require-toggle-inside-transition.html
|
|
6879
6914
|
*/
|
|
6880
|
-
'vue/require-toggle-inside-transition'?: Linter.RuleEntry<
|
|
6915
|
+
'vue/require-toggle-inside-transition'?: Linter.RuleEntry<VueRequireToggleInsideTransition>
|
|
6881
6916
|
/**
|
|
6882
6917
|
* enforce adding type declarations to object props
|
|
6883
6918
|
* @see https://eslint.vuejs.org/rules/require-typed-object-prop.html
|
|
@@ -7157,6 +7192,11 @@ type AccessorPairs = []|[{
|
|
|
7157
7192
|
setWithoutGet?: boolean
|
|
7158
7193
|
enforceForClassMembers?: boolean
|
|
7159
7194
|
}]
|
|
7195
|
+
// ----- antfu/consistent-chaining -----
|
|
7196
|
+
type AntfuConsistentChaining = []|[{
|
|
7197
|
+
|
|
7198
|
+
allowLeadingPropertyAccess?: boolean
|
|
7199
|
+
}]
|
|
7160
7200
|
// ----- antfu/consistent-list-newline -----
|
|
7161
7201
|
type AntfuConsistentListNewline = []|[{
|
|
7162
7202
|
ArrayExpression?: boolean
|
|
@@ -7536,6 +7576,7 @@ type ImportNoExtraneousDependencies = []|[{
|
|
|
7536
7576
|
packageDir?: (string | unknown[])
|
|
7537
7577
|
includeInternal?: boolean
|
|
7538
7578
|
includeTypes?: boolean
|
|
7579
|
+
whitelist?: unknown[]
|
|
7539
7580
|
}]
|
|
7540
7581
|
// ----- import/no-import-module-exports -----
|
|
7541
7582
|
type ImportNoImportModuleExports = []|[{
|
|
@@ -9707,9 +9748,41 @@ type PerfectionistSortClasses = []|[{
|
|
|
9707
9748
|
|
|
9708
9749
|
groups?: (string | string[])[]
|
|
9709
9750
|
|
|
9710
|
-
customGroups?: {
|
|
9751
|
+
customGroups?: ({
|
|
9711
9752
|
[k: string]: (string | string[]) | undefined
|
|
9712
|
-
}
|
|
9753
|
+
} | ({
|
|
9754
|
+
|
|
9755
|
+
groupName?: string
|
|
9756
|
+
|
|
9757
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
9758
|
+
|
|
9759
|
+
order?: ("desc" | "asc")
|
|
9760
|
+
anyOf?: {
|
|
9761
|
+
|
|
9762
|
+
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
9763
|
+
|
|
9764
|
+
modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
9765
|
+
|
|
9766
|
+
elementNamePattern?: string
|
|
9767
|
+
|
|
9768
|
+
decoratorNamePattern?: string
|
|
9769
|
+
}[]
|
|
9770
|
+
} | {
|
|
9771
|
+
|
|
9772
|
+
groupName?: string
|
|
9773
|
+
|
|
9774
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
9775
|
+
|
|
9776
|
+
order?: ("desc" | "asc")
|
|
9777
|
+
|
|
9778
|
+
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
9779
|
+
|
|
9780
|
+
modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
9781
|
+
|
|
9782
|
+
elementNamePattern?: string
|
|
9783
|
+
|
|
9784
|
+
decoratorNamePattern?: string
|
|
9785
|
+
})[])
|
|
9713
9786
|
}]
|
|
9714
9787
|
// ----- perfectionist/sort-enums -----
|
|
9715
9788
|
type PerfectionistSortEnums = []|[{
|
|
@@ -9747,6 +9820,8 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
9747
9820
|
|
|
9748
9821
|
internalPattern?: string[]
|
|
9749
9822
|
|
|
9823
|
+
sortSideEffects?: boolean
|
|
9824
|
+
|
|
9750
9825
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9751
9826
|
|
|
9752
9827
|
maxLineLength?: number
|
|
@@ -9897,6 +9972,17 @@ type PerfectionistSortObjects = []|[{
|
|
|
9897
9972
|
[k: string]: (string | string[]) | undefined
|
|
9898
9973
|
}
|
|
9899
9974
|
}]
|
|
9975
|
+
// ----- perfectionist/sort-sets -----
|
|
9976
|
+
type PerfectionistSortSets = []|[{
|
|
9977
|
+
|
|
9978
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
9979
|
+
|
|
9980
|
+
order?: ("asc" | "desc")
|
|
9981
|
+
|
|
9982
|
+
ignoreCase?: boolean
|
|
9983
|
+
|
|
9984
|
+
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
9985
|
+
}]
|
|
9900
9986
|
// ----- perfectionist/sort-svelte-attributes -----
|
|
9901
9987
|
type PerfectionistSortSvelteAttributes = []|[{
|
|
9902
9988
|
|
|
@@ -10171,6 +10257,10 @@ type RegexpUnicodeProperty = []|[{
|
|
|
10171
10257
|
type RequireAtomicUpdates = []|[{
|
|
10172
10258
|
allowProperties?: boolean
|
|
10173
10259
|
}]
|
|
10260
|
+
// ----- require-unicode-regexp -----
|
|
10261
|
+
type RequireUnicodeRegexp = []|[{
|
|
10262
|
+
requireFlag?: ("u" | "v")
|
|
10263
|
+
}]
|
|
10174
10264
|
// ----- rest-spread-spacing -----
|
|
10175
10265
|
type RestSpreadSpacing = []|[("always" | "never")]
|
|
10176
10266
|
// ----- semi -----
|
|
@@ -10383,6 +10473,7 @@ type StyleIndent = []|[("tab" | number)]|[("tab" | number), {
|
|
|
10383
10473
|
offsetTernaryExpressions?: boolean
|
|
10384
10474
|
ignoredNodes?: string[]
|
|
10385
10475
|
ignoreComments?: boolean
|
|
10476
|
+
tabLength?: number
|
|
10386
10477
|
}]
|
|
10387
10478
|
// ----- style/indent-binary-ops -----
|
|
10388
10479
|
type StyleIndentBinaryOps = []|[(number | "tab")]
|
|
@@ -10757,6 +10848,10 @@ type StyleKeywordSpacing = []|[{
|
|
|
10757
10848
|
before?: boolean
|
|
10758
10849
|
after?: boolean
|
|
10759
10850
|
}
|
|
10851
|
+
satisfies?: {
|
|
10852
|
+
before?: boolean
|
|
10853
|
+
after?: boolean
|
|
10854
|
+
}
|
|
10760
10855
|
set?: {
|
|
10761
10856
|
before?: boolean
|
|
10762
10857
|
after?: boolean
|
|
@@ -11237,7 +11332,6 @@ type StyleTypeAnnotationSpacing = []|[{
|
|
|
11237
11332
|
parameter?: _StyleTypeAnnotationSpacing_SpacingConfig
|
|
11238
11333
|
property?: _StyleTypeAnnotationSpacing_SpacingConfig
|
|
11239
11334
|
returnType?: _StyleTypeAnnotationSpacing_SpacingConfig
|
|
11240
|
-
operator?: _StyleTypeAnnotationSpacing_SpacingConfig
|
|
11241
11335
|
}
|
|
11242
11336
|
}]
|
|
11243
11337
|
interface _StyleTypeAnnotationSpacing_SpacingConfig {
|
|
@@ -11615,6 +11709,7 @@ type TsBanTsComment = []|[{
|
|
|
11615
11709
|
"ts-check"?: (boolean | "allow-with-description" | {
|
|
11616
11710
|
descriptionFormat?: string
|
|
11617
11711
|
})
|
|
11712
|
+
|
|
11618
11713
|
minimumDescriptionLength?: number
|
|
11619
11714
|
}]
|
|
11620
11715
|
// ----- ts/class-literal-property-style -----
|
|
@@ -11640,29 +11735,41 @@ type TsConsistentReturn = []|[{
|
|
|
11640
11735
|
}]
|
|
11641
11736
|
// ----- ts/consistent-type-assertions -----
|
|
11642
11737
|
type TsConsistentTypeAssertions = []|[({
|
|
11738
|
+
|
|
11643
11739
|
assertionStyle: "never"
|
|
11644
11740
|
} | {
|
|
11741
|
+
|
|
11645
11742
|
assertionStyle: ("as" | "angle-bracket")
|
|
11743
|
+
|
|
11646
11744
|
objectLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
|
|
11647
11745
|
})]
|
|
11648
11746
|
// ----- ts/consistent-type-definitions -----
|
|
11649
11747
|
type TsConsistentTypeDefinitions = []|[("interface" | "type")]
|
|
11650
11748
|
// ----- ts/consistent-type-exports -----
|
|
11651
11749
|
type TsConsistentTypeExports = []|[{
|
|
11750
|
+
|
|
11652
11751
|
fixMixedExportsWithInlineTypeSpecifier?: boolean
|
|
11653
11752
|
}]
|
|
11654
11753
|
// ----- ts/consistent-type-imports -----
|
|
11655
11754
|
type TsConsistentTypeImports = []|[{
|
|
11755
|
+
|
|
11656
11756
|
disallowTypeAnnotations?: boolean
|
|
11757
|
+
|
|
11657
11758
|
fixStyle?: ("separate-type-imports" | "inline-type-imports")
|
|
11759
|
+
|
|
11658
11760
|
prefer?: ("type-imports" | "no-type-imports")
|
|
11659
11761
|
}]
|
|
11660
11762
|
// ----- ts/dot-notation -----
|
|
11661
11763
|
type TsDotNotation = []|[{
|
|
11764
|
+
|
|
11662
11765
|
allowKeywords?: boolean
|
|
11766
|
+
|
|
11663
11767
|
allowPattern?: string
|
|
11768
|
+
|
|
11664
11769
|
allowPrivateClassPropertyAccess?: boolean
|
|
11770
|
+
|
|
11665
11771
|
allowProtectedClassPropertyAccess?: boolean
|
|
11772
|
+
|
|
11666
11773
|
allowIndexSignaturePropertyAccess?: boolean
|
|
11667
11774
|
}]
|
|
11668
11775
|
// ----- ts/explicit-function-return-type -----
|
|
@@ -11694,6 +11801,7 @@ type TsExplicitMemberAccessibility = []|[{
|
|
|
11694
11801
|
properties?: ("explicit" | "no-public" | "off")
|
|
11695
11802
|
parameterProperties?: ("explicit" | "no-public" | "off")
|
|
11696
11803
|
}
|
|
11804
|
+
|
|
11697
11805
|
ignoredMethodNames?: string[]
|
|
11698
11806
|
}]
|
|
11699
11807
|
// ----- ts/explicit-module-boundary-types -----
|
|
@@ -11715,8 +11823,11 @@ type TsInitDeclarations = ([]|["always"] | []|["never"]|["never", {
|
|
|
11715
11823
|
}])
|
|
11716
11824
|
// ----- ts/max-params -----
|
|
11717
11825
|
type TsMaxParams = []|[{
|
|
11718
|
-
|
|
11826
|
+
|
|
11719
11827
|
max?: number
|
|
11828
|
+
|
|
11829
|
+
maximum?: number
|
|
11830
|
+
|
|
11720
11831
|
countVoidThis?: boolean
|
|
11721
11832
|
}]
|
|
11722
11833
|
// ----- ts/member-ordering -----
|
|
@@ -12070,30 +12181,40 @@ interface _TsNamingConvention_MatchRegexConfig {
|
|
|
12070
12181
|
}
|
|
12071
12182
|
// ----- ts/no-base-to-string -----
|
|
12072
12183
|
type TsNoBaseToString = []|[{
|
|
12184
|
+
|
|
12073
12185
|
ignoredTypeNames?: string[]
|
|
12074
12186
|
}]
|
|
12075
12187
|
// ----- ts/no-confusing-void-expression -----
|
|
12076
12188
|
type TsNoConfusingVoidExpression = []|[{
|
|
12189
|
+
|
|
12077
12190
|
ignoreArrowShorthand?: boolean
|
|
12191
|
+
|
|
12078
12192
|
ignoreVoidOperator?: boolean
|
|
12079
12193
|
}]
|
|
12080
12194
|
// ----- ts/no-duplicate-type-constituents -----
|
|
12081
12195
|
type TsNoDuplicateTypeConstituents = []|[{
|
|
12196
|
+
|
|
12082
12197
|
ignoreIntersections?: boolean
|
|
12198
|
+
|
|
12083
12199
|
ignoreUnions?: boolean
|
|
12084
12200
|
}]
|
|
12085
12201
|
// ----- ts/no-empty-function -----
|
|
12086
12202
|
type TsNoEmptyFunction = []|[{
|
|
12203
|
+
|
|
12087
12204
|
allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "private-constructors" | "protected-constructors" | "asyncFunctions" | "asyncMethods" | "decoratedFunctions" | "overrideMethods")[]
|
|
12088
12205
|
}]
|
|
12089
12206
|
// ----- ts/no-empty-interface -----
|
|
12090
12207
|
type TsNoEmptyInterface = []|[{
|
|
12208
|
+
|
|
12091
12209
|
allowSingleExtends?: boolean
|
|
12092
12210
|
}]
|
|
12093
12211
|
// ----- ts/no-empty-object-type -----
|
|
12094
12212
|
type TsNoEmptyObjectType = []|[{
|
|
12213
|
+
|
|
12095
12214
|
allowInterfaces?: ("always" | "never" | "with-single-extends")
|
|
12215
|
+
|
|
12096
12216
|
allowObjectTypes?: ("always" | "never")
|
|
12217
|
+
|
|
12097
12218
|
allowWithName?: string
|
|
12098
12219
|
}]
|
|
12099
12220
|
// ----- ts/no-explicit-any -----
|
|
@@ -12116,6 +12237,7 @@ type TsNoExtraneousClass = []|[{
|
|
|
12116
12237
|
}]
|
|
12117
12238
|
// ----- ts/no-floating-promises -----
|
|
12118
12239
|
type TsNoFloatingPromises = []|[{
|
|
12240
|
+
|
|
12119
12241
|
allowForKnownSafePromises?: (string | {
|
|
12120
12242
|
from: "file"
|
|
12121
12243
|
name: (string | [string, ...(string)[]])
|
|
@@ -12128,6 +12250,7 @@ type TsNoFloatingPromises = []|[{
|
|
|
12128
12250
|
name: (string | [string, ...(string)[]])
|
|
12129
12251
|
package: string
|
|
12130
12252
|
})[]
|
|
12253
|
+
|
|
12131
12254
|
allowForKnownSafeCalls?: (string | {
|
|
12132
12255
|
from: "file"
|
|
12133
12256
|
name: (string | [string, ...(string)[]])
|
|
@@ -12149,7 +12272,9 @@ type TsNoFloatingPromises = []|[{
|
|
|
12149
12272
|
}]
|
|
12150
12273
|
// ----- ts/no-inferrable-types -----
|
|
12151
12274
|
type TsNoInferrableTypes = []|[{
|
|
12275
|
+
|
|
12152
12276
|
ignoreParameters?: boolean
|
|
12277
|
+
|
|
12153
12278
|
ignoreProperties?: boolean
|
|
12154
12279
|
}]
|
|
12155
12280
|
// ----- ts/no-invalid-this -----
|
|
@@ -12158,7 +12283,9 @@ type TsNoInvalidThis = []|[{
|
|
|
12158
12283
|
}]
|
|
12159
12284
|
// ----- ts/no-invalid-void-type -----
|
|
12160
12285
|
type TsNoInvalidVoidType = []|[{
|
|
12286
|
+
|
|
12161
12287
|
allowInGenericTypeArguments?: (boolean | [string, ...(string)[]])
|
|
12288
|
+
|
|
12162
12289
|
allowAsThisParameter?: boolean
|
|
12163
12290
|
}]
|
|
12164
12291
|
// ----- ts/no-magic-numbers -----
|
|
@@ -12169,26 +12296,38 @@ type TsNoMagicNumbers = []|[{
|
|
|
12169
12296
|
ignoreArrayIndexes?: boolean
|
|
12170
12297
|
ignoreDefaultValues?: boolean
|
|
12171
12298
|
ignoreClassFieldInitialValues?: boolean
|
|
12299
|
+
|
|
12172
12300
|
ignoreNumericLiteralTypes?: boolean
|
|
12301
|
+
|
|
12173
12302
|
ignoreEnums?: boolean
|
|
12303
|
+
|
|
12174
12304
|
ignoreReadonlyClassProperties?: boolean
|
|
12305
|
+
|
|
12175
12306
|
ignoreTypeIndexes?: boolean
|
|
12176
12307
|
}]
|
|
12177
12308
|
// ----- ts/no-meaningless-void-operator -----
|
|
12178
12309
|
type TsNoMeaninglessVoidOperator = []|[{
|
|
12310
|
+
|
|
12179
12311
|
checkNever?: boolean
|
|
12180
12312
|
}]
|
|
12181
12313
|
// ----- ts/no-misused-promises -----
|
|
12182
12314
|
type TsNoMisusedPromises = []|[{
|
|
12183
12315
|
checksConditionals?: boolean
|
|
12184
12316
|
checksVoidReturn?: (boolean | {
|
|
12317
|
+
|
|
12185
12318
|
arguments?: boolean
|
|
12319
|
+
|
|
12186
12320
|
attributes?: boolean
|
|
12321
|
+
|
|
12187
12322
|
inheritedMethods?: boolean
|
|
12323
|
+
|
|
12188
12324
|
properties?: boolean
|
|
12325
|
+
|
|
12189
12326
|
returns?: boolean
|
|
12327
|
+
|
|
12190
12328
|
variables?: boolean
|
|
12191
12329
|
})
|
|
12330
|
+
|
|
12192
12331
|
checksSpreads?: boolean
|
|
12193
12332
|
}]
|
|
12194
12333
|
// ----- ts/no-namespace -----
|
|
@@ -12200,7 +12339,9 @@ type TsNoNamespace = []|[{
|
|
|
12200
12339
|
}]
|
|
12201
12340
|
// ----- ts/no-redeclare -----
|
|
12202
12341
|
type TsNoRedeclare = []|[{
|
|
12342
|
+
|
|
12203
12343
|
builtinGlobals?: boolean
|
|
12344
|
+
|
|
12204
12345
|
ignoreDeclarationMerge?: boolean
|
|
12205
12346
|
}]
|
|
12206
12347
|
// ----- ts/no-require-imports -----
|
|
@@ -12258,11 +12399,17 @@ type TsNoRestrictedTypes = []|[{
|
|
|
12258
12399
|
}]
|
|
12259
12400
|
// ----- ts/no-shadow -----
|
|
12260
12401
|
type TsNoShadow = []|[{
|
|
12402
|
+
|
|
12261
12403
|
builtinGlobals?: boolean
|
|
12404
|
+
|
|
12262
12405
|
hoist?: ("all" | "functions" | "never")
|
|
12406
|
+
|
|
12263
12407
|
allow?: string[]
|
|
12408
|
+
|
|
12264
12409
|
ignoreOnInitialization?: boolean
|
|
12410
|
+
|
|
12265
12411
|
ignoreTypeValueShadow?: boolean
|
|
12412
|
+
|
|
12266
12413
|
ignoreFunctionTypeParameterNameValueShadow?: boolean
|
|
12267
12414
|
}]
|
|
12268
12415
|
// ----- ts/no-this-alias -----
|
|
@@ -12319,24 +12466,40 @@ type TsNoUnusedExpressions = []|[{
|
|
|
12319
12466
|
}]
|
|
12320
12467
|
// ----- ts/no-unused-vars -----
|
|
12321
12468
|
type TsNoUnusedVars = []|[(("all" | "local") | {
|
|
12469
|
+
|
|
12322
12470
|
vars?: ("all" | "local")
|
|
12471
|
+
|
|
12323
12472
|
varsIgnorePattern?: string
|
|
12473
|
+
|
|
12324
12474
|
args?: ("all" | "after-used" | "none")
|
|
12325
|
-
|
|
12475
|
+
|
|
12326
12476
|
argsIgnorePattern?: string
|
|
12477
|
+
|
|
12327
12478
|
caughtErrors?: ("all" | "none")
|
|
12479
|
+
|
|
12328
12480
|
caughtErrorsIgnorePattern?: string
|
|
12481
|
+
|
|
12329
12482
|
destructuredArrayIgnorePattern?: string
|
|
12483
|
+
|
|
12330
12484
|
ignoreClassWithStaticInitBlock?: boolean
|
|
12485
|
+
|
|
12486
|
+
ignoreRestSiblings?: boolean
|
|
12487
|
+
|
|
12331
12488
|
reportUsedIgnorePattern?: boolean
|
|
12332
12489
|
})]
|
|
12333
12490
|
// ----- ts/no-use-before-define -----
|
|
12334
12491
|
type TsNoUseBeforeDefine = []|[("nofunc" | {
|
|
12492
|
+
|
|
12335
12493
|
functions?: boolean
|
|
12494
|
+
|
|
12336
12495
|
classes?: boolean
|
|
12496
|
+
|
|
12337
12497
|
enums?: boolean
|
|
12498
|
+
|
|
12338
12499
|
variables?: boolean
|
|
12500
|
+
|
|
12339
12501
|
typedefs?: boolean
|
|
12502
|
+
|
|
12340
12503
|
ignoreTypeReferences?: boolean
|
|
12341
12504
|
allowNamedExports?: boolean
|
|
12342
12505
|
})]
|
|
@@ -12347,12 +12510,16 @@ type TsNoVarRequires = []|[{
|
|
|
12347
12510
|
}]
|
|
12348
12511
|
// ----- ts/only-throw-error -----
|
|
12349
12512
|
type TsOnlyThrowError = []|[{
|
|
12513
|
+
|
|
12350
12514
|
allowThrowingAny?: boolean
|
|
12515
|
+
|
|
12351
12516
|
allowThrowingUnknown?: boolean
|
|
12352
12517
|
}]
|
|
12353
12518
|
// ----- ts/parameter-properties -----
|
|
12354
12519
|
type TsParameterProperties = []|[{
|
|
12520
|
+
|
|
12355
12521
|
allow?: ("readonly" | "private" | "protected" | "public" | "private readonly" | "protected readonly" | "public readonly")[]
|
|
12522
|
+
|
|
12356
12523
|
prefer?: ("class-property" | "parameter-property")
|
|
12357
12524
|
}]
|
|
12358
12525
|
// ----- ts/prefer-destructuring -----
|
|
@@ -12387,13 +12554,18 @@ type TsPreferDestructuring = []|[({
|
|
|
12387
12554
|
}]
|
|
12388
12555
|
// ----- ts/prefer-literal-enum-member -----
|
|
12389
12556
|
type TsPreferLiteralEnumMember = []|[{
|
|
12557
|
+
|
|
12390
12558
|
allowBitwiseExpressions?: boolean
|
|
12391
12559
|
}]
|
|
12392
12560
|
// ----- ts/prefer-nullish-coalescing -----
|
|
12393
12561
|
type TsPreferNullishCoalescing = []|[{
|
|
12562
|
+
|
|
12394
12563
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
12564
|
+
|
|
12395
12565
|
ignoreConditionalTests?: boolean
|
|
12566
|
+
|
|
12396
12567
|
ignoreMixedLogicalExpressions?: boolean
|
|
12568
|
+
|
|
12397
12569
|
ignorePrimitives?: ({
|
|
12398
12570
|
bigint?: boolean
|
|
12399
12571
|
boolean?: boolean
|
|
@@ -12401,6 +12573,7 @@ type TsPreferNullishCoalescing = []|[{
|
|
|
12401
12573
|
string?: boolean
|
|
12402
12574
|
[k: string]: unknown | undefined
|
|
12403
12575
|
} | true)
|
|
12576
|
+
|
|
12404
12577
|
ignoreTernaryTests?: boolean
|
|
12405
12578
|
}]
|
|
12406
12579
|
// ----- ts/prefer-optional-chain -----
|
|
@@ -12424,14 +12597,17 @@ type TsPreferOptionalChain = []|[{
|
|
|
12424
12597
|
}]
|
|
12425
12598
|
// ----- ts/prefer-promise-reject-errors -----
|
|
12426
12599
|
type TsPreferPromiseRejectErrors = []|[{
|
|
12600
|
+
|
|
12427
12601
|
allowEmptyReject?: boolean
|
|
12428
12602
|
}]
|
|
12429
12603
|
// ----- ts/prefer-readonly -----
|
|
12430
12604
|
type TsPreferReadonly = []|[{
|
|
12605
|
+
|
|
12431
12606
|
onlyInlineLambdas?: boolean
|
|
12432
12607
|
}]
|
|
12433
12608
|
// ----- ts/prefer-readonly-parameter-types -----
|
|
12434
12609
|
type TsPreferReadonlyParameterTypes = []|[{
|
|
12610
|
+
|
|
12435
12611
|
allow?: (string | {
|
|
12436
12612
|
from: "file"
|
|
12437
12613
|
name: (string | [string, ...(string)[]])
|
|
@@ -12444,8 +12620,11 @@ type TsPreferReadonlyParameterTypes = []|[{
|
|
|
12444
12620
|
name: (string | [string, ...(string)[]])
|
|
12445
12621
|
package: string
|
|
12446
12622
|
})[]
|
|
12623
|
+
|
|
12447
12624
|
checkParameterProperties?: boolean
|
|
12625
|
+
|
|
12448
12626
|
ignoreInferredTypes?: boolean
|
|
12627
|
+
|
|
12449
12628
|
treatMethodsAsReadonly?: boolean
|
|
12450
12629
|
}]
|
|
12451
12630
|
// ----- ts/prefer-string-starts-ends-with -----
|
|
@@ -12459,9 +12638,13 @@ type TsPromiseFunctionAsync = []|[{
|
|
|
12459
12638
|
allowAny?: boolean
|
|
12460
12639
|
|
|
12461
12640
|
allowedPromiseNames?: string[]
|
|
12641
|
+
|
|
12462
12642
|
checkArrowFunctions?: boolean
|
|
12643
|
+
|
|
12463
12644
|
checkFunctionDeclarations?: boolean
|
|
12645
|
+
|
|
12464
12646
|
checkFunctionExpressions?: boolean
|
|
12647
|
+
|
|
12465
12648
|
checkMethodDeclarations?: boolean
|
|
12466
12649
|
}]
|
|
12467
12650
|
// ----- ts/require-array-sort-compare -----
|
|
@@ -12502,7 +12685,7 @@ type TsRestrictTemplateExpressions = []|[{
|
|
|
12502
12685
|
allowNever?: boolean
|
|
12503
12686
|
}]
|
|
12504
12687
|
// ----- ts/return-await -----
|
|
12505
|
-
type TsReturnAwait = []|[("
|
|
12688
|
+
type TsReturnAwait = []|[(("always" | "error-handling-correctness-only" | "in-try-catch" | "never") & string)]
|
|
12506
12689
|
// ----- ts/sort-type-constituents -----
|
|
12507
12690
|
type TsSortTypeConstituents = []|[{
|
|
12508
12691
|
|
|
@@ -12516,13 +12699,21 @@ type TsSortTypeConstituents = []|[{
|
|
|
12516
12699
|
}]
|
|
12517
12700
|
// ----- ts/strict-boolean-expressions -----
|
|
12518
12701
|
type TsStrictBooleanExpressions = []|[{
|
|
12702
|
+
|
|
12519
12703
|
allowString?: boolean
|
|
12704
|
+
|
|
12520
12705
|
allowNumber?: boolean
|
|
12706
|
+
|
|
12521
12707
|
allowNullableObject?: boolean
|
|
12708
|
+
|
|
12522
12709
|
allowNullableBoolean?: boolean
|
|
12710
|
+
|
|
12523
12711
|
allowNullableString?: boolean
|
|
12712
|
+
|
|
12524
12713
|
allowNullableNumber?: boolean
|
|
12714
|
+
|
|
12525
12715
|
allowNullableEnum?: boolean
|
|
12716
|
+
|
|
12526
12717
|
allowAny?: boolean
|
|
12527
12718
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
12528
12719
|
}]
|
|
@@ -12535,19 +12726,30 @@ type TsSwitchExhaustivenessCheck = []|[{
|
|
|
12535
12726
|
}]
|
|
12536
12727
|
// ----- ts/triple-slash-reference -----
|
|
12537
12728
|
type TsTripleSlashReference = []|[{
|
|
12729
|
+
|
|
12538
12730
|
lib?: ("always" | "never")
|
|
12731
|
+
|
|
12539
12732
|
path?: ("always" | "never")
|
|
12733
|
+
|
|
12540
12734
|
types?: ("always" | "never" | "prefer-import")
|
|
12541
12735
|
}]
|
|
12542
12736
|
// ----- ts/typedef -----
|
|
12543
12737
|
type TsTypedef = []|[{
|
|
12738
|
+
|
|
12544
12739
|
arrayDestructuring?: boolean
|
|
12740
|
+
|
|
12545
12741
|
arrowParameter?: boolean
|
|
12742
|
+
|
|
12546
12743
|
memberVariableDeclaration?: boolean
|
|
12744
|
+
|
|
12547
12745
|
objectDestructuring?: boolean
|
|
12746
|
+
|
|
12548
12747
|
parameter?: boolean
|
|
12748
|
+
|
|
12549
12749
|
propertyDeclaration?: boolean
|
|
12750
|
+
|
|
12550
12751
|
variableDeclaration?: boolean
|
|
12752
|
+
|
|
12551
12753
|
variableDeclarationIgnoreFunction?: boolean
|
|
12552
12754
|
}]
|
|
12553
12755
|
// ----- ts/unbound-method -----
|
|
@@ -12767,28 +12969,48 @@ type UnocssEnforceClassCompile = []|[{
|
|
|
12767
12969
|
}]
|
|
12768
12970
|
// ----- unused-imports/no-unused-imports -----
|
|
12769
12971
|
type UnusedImportsNoUnusedImports = []|[(("all" | "local") | {
|
|
12972
|
+
|
|
12770
12973
|
vars?: ("all" | "local")
|
|
12974
|
+
|
|
12771
12975
|
varsIgnorePattern?: string
|
|
12976
|
+
|
|
12772
12977
|
args?: ("all" | "after-used" | "none")
|
|
12773
|
-
|
|
12978
|
+
|
|
12774
12979
|
argsIgnorePattern?: string
|
|
12980
|
+
|
|
12775
12981
|
caughtErrors?: ("all" | "none")
|
|
12982
|
+
|
|
12776
12983
|
caughtErrorsIgnorePattern?: string
|
|
12984
|
+
|
|
12777
12985
|
destructuredArrayIgnorePattern?: string
|
|
12986
|
+
|
|
12778
12987
|
ignoreClassWithStaticInitBlock?: boolean
|
|
12988
|
+
|
|
12989
|
+
ignoreRestSiblings?: boolean
|
|
12990
|
+
|
|
12779
12991
|
reportUsedIgnorePattern?: boolean
|
|
12780
12992
|
})]
|
|
12781
12993
|
// ----- unused-imports/no-unused-vars -----
|
|
12782
12994
|
type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
|
|
12995
|
+
|
|
12783
12996
|
vars?: ("all" | "local")
|
|
12997
|
+
|
|
12784
12998
|
varsIgnorePattern?: string
|
|
12999
|
+
|
|
12785
13000
|
args?: ("all" | "after-used" | "none")
|
|
12786
|
-
|
|
13001
|
+
|
|
12787
13002
|
argsIgnorePattern?: string
|
|
13003
|
+
|
|
12788
13004
|
caughtErrors?: ("all" | "none")
|
|
13005
|
+
|
|
12789
13006
|
caughtErrorsIgnorePattern?: string
|
|
13007
|
+
|
|
12790
13008
|
destructuredArrayIgnorePattern?: string
|
|
13009
|
+
|
|
12791
13010
|
ignoreClassWithStaticInitBlock?: boolean
|
|
13011
|
+
|
|
13012
|
+
ignoreRestSiblings?: boolean
|
|
13013
|
+
|
|
12792
13014
|
reportUsedIgnorePattern?: boolean
|
|
12793
13015
|
})]
|
|
12794
13016
|
// ----- use-isnan -----
|
|
@@ -12932,7 +13154,7 @@ type VueCustomEventNameCasing = ([]|[("kebab-case" | "camelCase")]|[("kebab-case
|
|
|
12932
13154
|
type VueDefineEmitsDeclaration = []|[("type-based" | "type-literal" | "runtime")]
|
|
12933
13155
|
// ----- vue/define-macros-order -----
|
|
12934
13156
|
type VueDefineMacrosOrder = []|[{
|
|
12935
|
-
order?:
|
|
13157
|
+
order?: string[]
|
|
12936
13158
|
defineExposeLast?: boolean
|
|
12937
13159
|
}]
|
|
12938
13160
|
// ----- vue/define-props-declaration -----
|
|
@@ -13278,6 +13500,10 @@ type VueKeywordSpacing = []|[{
|
|
|
13278
13500
|
before?: boolean
|
|
13279
13501
|
after?: boolean
|
|
13280
13502
|
}
|
|
13503
|
+
satisfies?: {
|
|
13504
|
+
before?: boolean
|
|
13505
|
+
after?: boolean
|
|
13506
|
+
}
|
|
13281
13507
|
set?: {
|
|
13282
13508
|
before?: boolean
|
|
13283
13509
|
after?: boolean
|
|
@@ -13467,6 +13693,14 @@ type VueMaxLinesPerBlock = []|[{
|
|
|
13467
13693
|
script?: number
|
|
13468
13694
|
skipBlankLines?: boolean
|
|
13469
13695
|
}]
|
|
13696
|
+
// ----- vue/max-props -----
|
|
13697
|
+
type VueMaxProps = []|[{
|
|
13698
|
+
maxProps?: number
|
|
13699
|
+
}]
|
|
13700
|
+
// ----- vue/max-template-depth -----
|
|
13701
|
+
type VueMaxTemplateDepth = []|[{
|
|
13702
|
+
maxDepth?: number
|
|
13703
|
+
}]
|
|
13470
13704
|
// ----- vue/multi-word-component-names -----
|
|
13471
13705
|
type VueMultiWordComponentNames = []|[{
|
|
13472
13706
|
ignores?: string[]
|
|
@@ -13881,6 +14115,10 @@ type VueRequireMacroVariableName = []|[{
|
|
|
13881
14115
|
type VueRequirePropComment = []|[{
|
|
13882
14116
|
type?: ("JSDoc" | "line" | "block" | "any")
|
|
13883
14117
|
}]
|
|
14118
|
+
// ----- vue/require-toggle-inside-transition -----
|
|
14119
|
+
type VueRequireToggleInsideTransition = []|[{
|
|
14120
|
+
additionalDirectives?: string[]
|
|
14121
|
+
}]
|
|
13884
14122
|
// ----- vue/return-in-computed-property -----
|
|
13885
14123
|
type VueReturnInComputedProperty = []|[{
|
|
13886
14124
|
treatUndefinedAsUnspecified?: boolean
|
|
@@ -13985,7 +14223,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
13985
14223
|
onlyEquality?: boolean
|
|
13986
14224
|
}]
|
|
13987
14225
|
// Names of all the configs
|
|
13988
|
-
type ConfigNames = 'coderwyd/eslint-comments/rules' | 'coderwyd/formatter/setup' | 'coderwyd/imports/rules' | 'coderwyd/
|
|
14226
|
+
type ConfigNames = 'coderwyd/eslint-comments/rules' | 'coderwyd/formatter/setup' | 'coderwyd/imports/rules' | 'coderwyd/javascript/setup' | 'coderwyd/javascript/rules' | 'coderwyd/jsdoc/rules' | 'coderwyd/jsonc/setup' | 'coderwyd/jsonc/rules' | 'coderwyd/jsx/setup' | 'coderwyd/node/rules' | 'coderwyd/perfectionist/rules' | 'coderwyd/react/setup' | 'coderwyd/react/rules' | 'coderwyd/sort/package-json' | 'coderwyd/stylistic/rules' | 'coderwyd/svelte/setup' | 'coderwyd/svelte/rules' | 'coderwyd/test/setup' | 'coderwyd/test/rules' | 'coderwyd/typescript/setup' | 'coderwyd/typescript/parser' | 'coderwyd/typescript/rules' | 'coderwyd/unicorn/rules' | 'coderwyd/unocss/rules' | 'coderwyd/vue/setup' | 'coderwyd/vue/rules' | 'coderwyd/command/rules' | 'coderwyd/regexp/rules' | 'coderwyd/tailwindcss/rules'
|
|
13989
14227
|
|
|
13990
14228
|
type Rules = RuleOptions;
|
|
13991
14229
|
|
|
@@ -14596,6 +14834,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
14596
14834
|
'svelte/valid-each-key'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14597
14835
|
'svelte/valid-prop-names-in-kit-pages'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14598
14836
|
'accessor-pairs'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14837
|
+
'antfu/consistent-chaining'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14599
14838
|
'antfu/consistent-list-newline'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14600
14839
|
'antfu/curly'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14601
14840
|
'antfu/if-newline'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
@@ -15060,6 +15299,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
15060
15299
|
'perfectionist/sort-named-imports'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15061
15300
|
'perfectionist/sort-object-types'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15062
15301
|
'perfectionist/sort-objects'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15302
|
+
'perfectionist/sort-sets'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15063
15303
|
'perfectionist/sort-svelte-attributes'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15064
15304
|
'perfectionist/sort-switch-case'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15065
15305
|
'perfectionist/sort-union-types'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
@@ -15094,10 +15334,12 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
15094
15334
|
'react-dom/no-unsafe-iframe-sandbox'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15095
15335
|
'react-dom/no-unsafe-target-blank'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15096
15336
|
'react-hooks-extra/ensure-custom-hooks-using-other-hooks'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15097
|
-
'react-hooks-extra/ensure-use-callback-has-non-empty-deps'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15098
15337
|
'react-hooks-extra/ensure-use-memo-has-non-empty-deps'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15099
15338
|
'react-hooks-extra/no-direct-set-state-in-use-effect'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15100
15339
|
'react-hooks-extra/no-direct-set-state-in-use-layout-effect'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15340
|
+
'react-hooks-extra/no-redundant-custom-hook'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15341
|
+
'react-hooks-extra/no-unnecessary-use-callback'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15342
|
+
'react-hooks-extra/no-unnecessary-use-memo'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15101
15343
|
'react-hooks-extra/prefer-use-state-lazy-initialization'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15102
15344
|
'react-hooks/exhaustive-deps'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15103
15345
|
'react-hooks/rules-of-hooks'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
@@ -15236,7 +15478,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
15236
15478
|
'regexp/use-ignore-case'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15237
15479
|
'require-atomic-updates'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15238
15480
|
'require-await'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15239
|
-
'require-unicode-regexp'?: eslint.Linter.RuleEntry<
|
|
15481
|
+
'require-unicode-regexp'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15240
15482
|
'require-yield'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15241
15483
|
'rest-spread-spacing'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15242
15484
|
semi?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
@@ -15743,6 +15985,8 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
15743
15985
|
'vue/max-attributes-per-line'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15744
15986
|
'vue/max-len'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15745
15987
|
'vue/max-lines-per-block'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15988
|
+
'vue/max-props'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15989
|
+
'vue/max-template-depth'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15746
15990
|
'vue/multi-word-component-names'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15747
15991
|
'vue/multiline-html-element-content-newline'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15748
15992
|
'vue/multiline-ternary'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
@@ -15872,6 +16116,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
15872
16116
|
'vue/prop-name-casing'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15873
16117
|
'vue/quote-props'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15874
16118
|
'vue/require-component-is'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
16119
|
+
'vue/require-default-export'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15875
16120
|
'vue/require-default-prop'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15876
16121
|
'vue/require-direct-export'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15877
16122
|
'vue/require-emit-validator'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
@@ -15885,7 +16130,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
15885
16130
|
'vue/require-prop-types'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15886
16131
|
'vue/require-render-return'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15887
16132
|
'vue/require-slots-as-functions'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15888
|
-
'vue/require-toggle-inside-transition'?: eslint.Linter.RuleEntry<
|
|
16133
|
+
'vue/require-toggle-inside-transition'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15889
16134
|
'vue/require-typed-object-prop'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15890
16135
|
'vue/require-typed-ref'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15891
16136
|
'vue/require-v-for-key'?: eslint.Linter.RuleEntry<[]> | undefined;
|