@coderwyd/eslint-config 2.7.0 → 2.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.cjs +5 -5
- package/dist/cli.js +5 -5
- package/dist/index.cjs +1391 -1383
- package/dist/index.d.cts +305 -74
- package/dist/index.d.ts +305 -74
- package/dist/index.js +1404 -1396
- package/package.json +14 -14
package/dist/index.d.ts
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
|
|
@@ -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
|
+
allowFirstPropertyAccess?: 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 = []|[{
|
|
@@ -9897,6 +9970,17 @@ type PerfectionistSortObjects = []|[{
|
|
|
9897
9970
|
[k: string]: (string | string[]) | undefined
|
|
9898
9971
|
}
|
|
9899
9972
|
}]
|
|
9973
|
+
// ----- perfectionist/sort-sets -----
|
|
9974
|
+
type PerfectionistSortSets = []|[{
|
|
9975
|
+
|
|
9976
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
9977
|
+
|
|
9978
|
+
order?: ("asc" | "desc")
|
|
9979
|
+
|
|
9980
|
+
ignoreCase?: boolean
|
|
9981
|
+
|
|
9982
|
+
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
9983
|
+
}]
|
|
9900
9984
|
// ----- perfectionist/sort-svelte-attributes -----
|
|
9901
9985
|
type PerfectionistSortSvelteAttributes = []|[{
|
|
9902
9986
|
|
|
@@ -11615,6 +11699,7 @@ type TsBanTsComment = []|[{
|
|
|
11615
11699
|
"ts-check"?: (boolean | "allow-with-description" | {
|
|
11616
11700
|
descriptionFormat?: string
|
|
11617
11701
|
})
|
|
11702
|
+
|
|
11618
11703
|
minimumDescriptionLength?: number
|
|
11619
11704
|
}]
|
|
11620
11705
|
// ----- ts/class-literal-property-style -----
|
|
@@ -11640,29 +11725,41 @@ type TsConsistentReturn = []|[{
|
|
|
11640
11725
|
}]
|
|
11641
11726
|
// ----- ts/consistent-type-assertions -----
|
|
11642
11727
|
type TsConsistentTypeAssertions = []|[({
|
|
11728
|
+
|
|
11643
11729
|
assertionStyle: "never"
|
|
11644
11730
|
} | {
|
|
11731
|
+
|
|
11645
11732
|
assertionStyle: ("as" | "angle-bracket")
|
|
11733
|
+
|
|
11646
11734
|
objectLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
|
|
11647
11735
|
})]
|
|
11648
11736
|
// ----- ts/consistent-type-definitions -----
|
|
11649
11737
|
type TsConsistentTypeDefinitions = []|[("interface" | "type")]
|
|
11650
11738
|
// ----- ts/consistent-type-exports -----
|
|
11651
11739
|
type TsConsistentTypeExports = []|[{
|
|
11740
|
+
|
|
11652
11741
|
fixMixedExportsWithInlineTypeSpecifier?: boolean
|
|
11653
11742
|
}]
|
|
11654
11743
|
// ----- ts/consistent-type-imports -----
|
|
11655
11744
|
type TsConsistentTypeImports = []|[{
|
|
11745
|
+
|
|
11656
11746
|
disallowTypeAnnotations?: boolean
|
|
11747
|
+
|
|
11657
11748
|
fixStyle?: ("separate-type-imports" | "inline-type-imports")
|
|
11749
|
+
|
|
11658
11750
|
prefer?: ("type-imports" | "no-type-imports")
|
|
11659
11751
|
}]
|
|
11660
11752
|
// ----- ts/dot-notation -----
|
|
11661
11753
|
type TsDotNotation = []|[{
|
|
11754
|
+
|
|
11662
11755
|
allowKeywords?: boolean
|
|
11756
|
+
|
|
11663
11757
|
allowPattern?: string
|
|
11758
|
+
|
|
11664
11759
|
allowPrivateClassPropertyAccess?: boolean
|
|
11760
|
+
|
|
11665
11761
|
allowProtectedClassPropertyAccess?: boolean
|
|
11762
|
+
|
|
11666
11763
|
allowIndexSignaturePropertyAccess?: boolean
|
|
11667
11764
|
}]
|
|
11668
11765
|
// ----- ts/explicit-function-return-type -----
|
|
@@ -11694,6 +11791,7 @@ type TsExplicitMemberAccessibility = []|[{
|
|
|
11694
11791
|
properties?: ("explicit" | "no-public" | "off")
|
|
11695
11792
|
parameterProperties?: ("explicit" | "no-public" | "off")
|
|
11696
11793
|
}
|
|
11794
|
+
|
|
11697
11795
|
ignoredMethodNames?: string[]
|
|
11698
11796
|
}]
|
|
11699
11797
|
// ----- ts/explicit-module-boundary-types -----
|
|
@@ -11715,8 +11813,11 @@ type TsInitDeclarations = ([]|["always"] | []|["never"]|["never", {
|
|
|
11715
11813
|
}])
|
|
11716
11814
|
// ----- ts/max-params -----
|
|
11717
11815
|
type TsMaxParams = []|[{
|
|
11718
|
-
|
|
11816
|
+
|
|
11719
11817
|
max?: number
|
|
11818
|
+
|
|
11819
|
+
maximum?: number
|
|
11820
|
+
|
|
11720
11821
|
countVoidThis?: boolean
|
|
11721
11822
|
}]
|
|
11722
11823
|
// ----- ts/member-ordering -----
|
|
@@ -12070,30 +12171,40 @@ interface _TsNamingConvention_MatchRegexConfig {
|
|
|
12070
12171
|
}
|
|
12071
12172
|
// ----- ts/no-base-to-string -----
|
|
12072
12173
|
type TsNoBaseToString = []|[{
|
|
12174
|
+
|
|
12073
12175
|
ignoredTypeNames?: string[]
|
|
12074
12176
|
}]
|
|
12075
12177
|
// ----- ts/no-confusing-void-expression -----
|
|
12076
12178
|
type TsNoConfusingVoidExpression = []|[{
|
|
12179
|
+
|
|
12077
12180
|
ignoreArrowShorthand?: boolean
|
|
12181
|
+
|
|
12078
12182
|
ignoreVoidOperator?: boolean
|
|
12079
12183
|
}]
|
|
12080
12184
|
// ----- ts/no-duplicate-type-constituents -----
|
|
12081
12185
|
type TsNoDuplicateTypeConstituents = []|[{
|
|
12186
|
+
|
|
12082
12187
|
ignoreIntersections?: boolean
|
|
12188
|
+
|
|
12083
12189
|
ignoreUnions?: boolean
|
|
12084
12190
|
}]
|
|
12085
12191
|
// ----- ts/no-empty-function -----
|
|
12086
12192
|
type TsNoEmptyFunction = []|[{
|
|
12193
|
+
|
|
12087
12194
|
allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "private-constructors" | "protected-constructors" | "asyncFunctions" | "asyncMethods" | "decoratedFunctions" | "overrideMethods")[]
|
|
12088
12195
|
}]
|
|
12089
12196
|
// ----- ts/no-empty-interface -----
|
|
12090
12197
|
type TsNoEmptyInterface = []|[{
|
|
12198
|
+
|
|
12091
12199
|
allowSingleExtends?: boolean
|
|
12092
12200
|
}]
|
|
12093
12201
|
// ----- ts/no-empty-object-type -----
|
|
12094
12202
|
type TsNoEmptyObjectType = []|[{
|
|
12203
|
+
|
|
12095
12204
|
allowInterfaces?: ("always" | "never" | "with-single-extends")
|
|
12205
|
+
|
|
12096
12206
|
allowObjectTypes?: ("always" | "never")
|
|
12207
|
+
|
|
12097
12208
|
allowWithName?: string
|
|
12098
12209
|
}]
|
|
12099
12210
|
// ----- ts/no-explicit-any -----
|
|
@@ -12116,6 +12227,7 @@ type TsNoExtraneousClass = []|[{
|
|
|
12116
12227
|
}]
|
|
12117
12228
|
// ----- ts/no-floating-promises -----
|
|
12118
12229
|
type TsNoFloatingPromises = []|[{
|
|
12230
|
+
|
|
12119
12231
|
allowForKnownSafePromises?: (string | {
|
|
12120
12232
|
from: "file"
|
|
12121
12233
|
name: (string | [string, ...(string)[]])
|
|
@@ -12128,6 +12240,7 @@ type TsNoFloatingPromises = []|[{
|
|
|
12128
12240
|
name: (string | [string, ...(string)[]])
|
|
12129
12241
|
package: string
|
|
12130
12242
|
})[]
|
|
12243
|
+
|
|
12131
12244
|
allowForKnownSafeCalls?: (string | {
|
|
12132
12245
|
from: "file"
|
|
12133
12246
|
name: (string | [string, ...(string)[]])
|
|
@@ -12149,7 +12262,9 @@ type TsNoFloatingPromises = []|[{
|
|
|
12149
12262
|
}]
|
|
12150
12263
|
// ----- ts/no-inferrable-types -----
|
|
12151
12264
|
type TsNoInferrableTypes = []|[{
|
|
12265
|
+
|
|
12152
12266
|
ignoreParameters?: boolean
|
|
12267
|
+
|
|
12153
12268
|
ignoreProperties?: boolean
|
|
12154
12269
|
}]
|
|
12155
12270
|
// ----- ts/no-invalid-this -----
|
|
@@ -12158,7 +12273,9 @@ type TsNoInvalidThis = []|[{
|
|
|
12158
12273
|
}]
|
|
12159
12274
|
// ----- ts/no-invalid-void-type -----
|
|
12160
12275
|
type TsNoInvalidVoidType = []|[{
|
|
12276
|
+
|
|
12161
12277
|
allowInGenericTypeArguments?: (boolean | [string, ...(string)[]])
|
|
12278
|
+
|
|
12162
12279
|
allowAsThisParameter?: boolean
|
|
12163
12280
|
}]
|
|
12164
12281
|
// ----- ts/no-magic-numbers -----
|
|
@@ -12169,26 +12286,38 @@ type TsNoMagicNumbers = []|[{
|
|
|
12169
12286
|
ignoreArrayIndexes?: boolean
|
|
12170
12287
|
ignoreDefaultValues?: boolean
|
|
12171
12288
|
ignoreClassFieldInitialValues?: boolean
|
|
12289
|
+
|
|
12172
12290
|
ignoreNumericLiteralTypes?: boolean
|
|
12291
|
+
|
|
12173
12292
|
ignoreEnums?: boolean
|
|
12293
|
+
|
|
12174
12294
|
ignoreReadonlyClassProperties?: boolean
|
|
12295
|
+
|
|
12175
12296
|
ignoreTypeIndexes?: boolean
|
|
12176
12297
|
}]
|
|
12177
12298
|
// ----- ts/no-meaningless-void-operator -----
|
|
12178
12299
|
type TsNoMeaninglessVoidOperator = []|[{
|
|
12300
|
+
|
|
12179
12301
|
checkNever?: boolean
|
|
12180
12302
|
}]
|
|
12181
12303
|
// ----- ts/no-misused-promises -----
|
|
12182
12304
|
type TsNoMisusedPromises = []|[{
|
|
12183
12305
|
checksConditionals?: boolean
|
|
12184
12306
|
checksVoidReturn?: (boolean | {
|
|
12307
|
+
|
|
12185
12308
|
arguments?: boolean
|
|
12309
|
+
|
|
12186
12310
|
attributes?: boolean
|
|
12311
|
+
|
|
12187
12312
|
inheritedMethods?: boolean
|
|
12313
|
+
|
|
12188
12314
|
properties?: boolean
|
|
12315
|
+
|
|
12189
12316
|
returns?: boolean
|
|
12317
|
+
|
|
12190
12318
|
variables?: boolean
|
|
12191
12319
|
})
|
|
12320
|
+
|
|
12192
12321
|
checksSpreads?: boolean
|
|
12193
12322
|
}]
|
|
12194
12323
|
// ----- ts/no-namespace -----
|
|
@@ -12200,7 +12329,9 @@ type TsNoNamespace = []|[{
|
|
|
12200
12329
|
}]
|
|
12201
12330
|
// ----- ts/no-redeclare -----
|
|
12202
12331
|
type TsNoRedeclare = []|[{
|
|
12332
|
+
|
|
12203
12333
|
builtinGlobals?: boolean
|
|
12334
|
+
|
|
12204
12335
|
ignoreDeclarationMerge?: boolean
|
|
12205
12336
|
}]
|
|
12206
12337
|
// ----- ts/no-require-imports -----
|
|
@@ -12258,11 +12389,17 @@ type TsNoRestrictedTypes = []|[{
|
|
|
12258
12389
|
}]
|
|
12259
12390
|
// ----- ts/no-shadow -----
|
|
12260
12391
|
type TsNoShadow = []|[{
|
|
12392
|
+
|
|
12261
12393
|
builtinGlobals?: boolean
|
|
12394
|
+
|
|
12262
12395
|
hoist?: ("all" | "functions" | "never")
|
|
12396
|
+
|
|
12263
12397
|
allow?: string[]
|
|
12398
|
+
|
|
12264
12399
|
ignoreOnInitialization?: boolean
|
|
12400
|
+
|
|
12265
12401
|
ignoreTypeValueShadow?: boolean
|
|
12402
|
+
|
|
12266
12403
|
ignoreFunctionTypeParameterNameValueShadow?: boolean
|
|
12267
12404
|
}]
|
|
12268
12405
|
// ----- ts/no-this-alias -----
|
|
@@ -12319,24 +12456,40 @@ type TsNoUnusedExpressions = []|[{
|
|
|
12319
12456
|
}]
|
|
12320
12457
|
// ----- ts/no-unused-vars -----
|
|
12321
12458
|
type TsNoUnusedVars = []|[(("all" | "local") | {
|
|
12459
|
+
|
|
12322
12460
|
vars?: ("all" | "local")
|
|
12461
|
+
|
|
12323
12462
|
varsIgnorePattern?: string
|
|
12463
|
+
|
|
12324
12464
|
args?: ("all" | "after-used" | "none")
|
|
12325
|
-
|
|
12465
|
+
|
|
12326
12466
|
argsIgnorePattern?: string
|
|
12467
|
+
|
|
12327
12468
|
caughtErrors?: ("all" | "none")
|
|
12469
|
+
|
|
12328
12470
|
caughtErrorsIgnorePattern?: string
|
|
12471
|
+
|
|
12329
12472
|
destructuredArrayIgnorePattern?: string
|
|
12473
|
+
|
|
12330
12474
|
ignoreClassWithStaticInitBlock?: boolean
|
|
12475
|
+
|
|
12476
|
+
ignoreRestSiblings?: boolean
|
|
12477
|
+
|
|
12331
12478
|
reportUsedIgnorePattern?: boolean
|
|
12332
12479
|
})]
|
|
12333
12480
|
// ----- ts/no-use-before-define -----
|
|
12334
12481
|
type TsNoUseBeforeDefine = []|[("nofunc" | {
|
|
12482
|
+
|
|
12335
12483
|
functions?: boolean
|
|
12484
|
+
|
|
12336
12485
|
classes?: boolean
|
|
12486
|
+
|
|
12337
12487
|
enums?: boolean
|
|
12488
|
+
|
|
12338
12489
|
variables?: boolean
|
|
12490
|
+
|
|
12339
12491
|
typedefs?: boolean
|
|
12492
|
+
|
|
12340
12493
|
ignoreTypeReferences?: boolean
|
|
12341
12494
|
allowNamedExports?: boolean
|
|
12342
12495
|
})]
|
|
@@ -12347,12 +12500,16 @@ type TsNoVarRequires = []|[{
|
|
|
12347
12500
|
}]
|
|
12348
12501
|
// ----- ts/only-throw-error -----
|
|
12349
12502
|
type TsOnlyThrowError = []|[{
|
|
12503
|
+
|
|
12350
12504
|
allowThrowingAny?: boolean
|
|
12505
|
+
|
|
12351
12506
|
allowThrowingUnknown?: boolean
|
|
12352
12507
|
}]
|
|
12353
12508
|
// ----- ts/parameter-properties -----
|
|
12354
12509
|
type TsParameterProperties = []|[{
|
|
12510
|
+
|
|
12355
12511
|
allow?: ("readonly" | "private" | "protected" | "public" | "private readonly" | "protected readonly" | "public readonly")[]
|
|
12512
|
+
|
|
12356
12513
|
prefer?: ("class-property" | "parameter-property")
|
|
12357
12514
|
}]
|
|
12358
12515
|
// ----- ts/prefer-destructuring -----
|
|
@@ -12387,13 +12544,18 @@ type TsPreferDestructuring = []|[({
|
|
|
12387
12544
|
}]
|
|
12388
12545
|
// ----- ts/prefer-literal-enum-member -----
|
|
12389
12546
|
type TsPreferLiteralEnumMember = []|[{
|
|
12547
|
+
|
|
12390
12548
|
allowBitwiseExpressions?: boolean
|
|
12391
12549
|
}]
|
|
12392
12550
|
// ----- ts/prefer-nullish-coalescing -----
|
|
12393
12551
|
type TsPreferNullishCoalescing = []|[{
|
|
12552
|
+
|
|
12394
12553
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
12554
|
+
|
|
12395
12555
|
ignoreConditionalTests?: boolean
|
|
12556
|
+
|
|
12396
12557
|
ignoreMixedLogicalExpressions?: boolean
|
|
12558
|
+
|
|
12397
12559
|
ignorePrimitives?: ({
|
|
12398
12560
|
bigint?: boolean
|
|
12399
12561
|
boolean?: boolean
|
|
@@ -12401,6 +12563,7 @@ type TsPreferNullishCoalescing = []|[{
|
|
|
12401
12563
|
string?: boolean
|
|
12402
12564
|
[k: string]: unknown | undefined
|
|
12403
12565
|
} | true)
|
|
12566
|
+
|
|
12404
12567
|
ignoreTernaryTests?: boolean
|
|
12405
12568
|
}]
|
|
12406
12569
|
// ----- ts/prefer-optional-chain -----
|
|
@@ -12424,14 +12587,17 @@ type TsPreferOptionalChain = []|[{
|
|
|
12424
12587
|
}]
|
|
12425
12588
|
// ----- ts/prefer-promise-reject-errors -----
|
|
12426
12589
|
type TsPreferPromiseRejectErrors = []|[{
|
|
12590
|
+
|
|
12427
12591
|
allowEmptyReject?: boolean
|
|
12428
12592
|
}]
|
|
12429
12593
|
// ----- ts/prefer-readonly -----
|
|
12430
12594
|
type TsPreferReadonly = []|[{
|
|
12595
|
+
|
|
12431
12596
|
onlyInlineLambdas?: boolean
|
|
12432
12597
|
}]
|
|
12433
12598
|
// ----- ts/prefer-readonly-parameter-types -----
|
|
12434
12599
|
type TsPreferReadonlyParameterTypes = []|[{
|
|
12600
|
+
|
|
12435
12601
|
allow?: (string | {
|
|
12436
12602
|
from: "file"
|
|
12437
12603
|
name: (string | [string, ...(string)[]])
|
|
@@ -12444,8 +12610,11 @@ type TsPreferReadonlyParameterTypes = []|[{
|
|
|
12444
12610
|
name: (string | [string, ...(string)[]])
|
|
12445
12611
|
package: string
|
|
12446
12612
|
})[]
|
|
12613
|
+
|
|
12447
12614
|
checkParameterProperties?: boolean
|
|
12615
|
+
|
|
12448
12616
|
ignoreInferredTypes?: boolean
|
|
12617
|
+
|
|
12449
12618
|
treatMethodsAsReadonly?: boolean
|
|
12450
12619
|
}]
|
|
12451
12620
|
// ----- ts/prefer-string-starts-ends-with -----
|
|
@@ -12459,9 +12628,13 @@ type TsPromiseFunctionAsync = []|[{
|
|
|
12459
12628
|
allowAny?: boolean
|
|
12460
12629
|
|
|
12461
12630
|
allowedPromiseNames?: string[]
|
|
12631
|
+
|
|
12462
12632
|
checkArrowFunctions?: boolean
|
|
12633
|
+
|
|
12463
12634
|
checkFunctionDeclarations?: boolean
|
|
12635
|
+
|
|
12464
12636
|
checkFunctionExpressions?: boolean
|
|
12637
|
+
|
|
12465
12638
|
checkMethodDeclarations?: boolean
|
|
12466
12639
|
}]
|
|
12467
12640
|
// ----- ts/require-array-sort-compare -----
|
|
@@ -12502,7 +12675,7 @@ type TsRestrictTemplateExpressions = []|[{
|
|
|
12502
12675
|
allowNever?: boolean
|
|
12503
12676
|
}]
|
|
12504
12677
|
// ----- ts/return-await -----
|
|
12505
|
-
type TsReturnAwait = []|[("
|
|
12678
|
+
type TsReturnAwait = []|[(("always" | "error-handling-correctness-only" | "in-try-catch" | "never") & string)]
|
|
12506
12679
|
// ----- ts/sort-type-constituents -----
|
|
12507
12680
|
type TsSortTypeConstituents = []|[{
|
|
12508
12681
|
|
|
@@ -12516,13 +12689,21 @@ type TsSortTypeConstituents = []|[{
|
|
|
12516
12689
|
}]
|
|
12517
12690
|
// ----- ts/strict-boolean-expressions -----
|
|
12518
12691
|
type TsStrictBooleanExpressions = []|[{
|
|
12692
|
+
|
|
12519
12693
|
allowString?: boolean
|
|
12694
|
+
|
|
12520
12695
|
allowNumber?: boolean
|
|
12696
|
+
|
|
12521
12697
|
allowNullableObject?: boolean
|
|
12698
|
+
|
|
12522
12699
|
allowNullableBoolean?: boolean
|
|
12700
|
+
|
|
12523
12701
|
allowNullableString?: boolean
|
|
12702
|
+
|
|
12524
12703
|
allowNullableNumber?: boolean
|
|
12704
|
+
|
|
12525
12705
|
allowNullableEnum?: boolean
|
|
12706
|
+
|
|
12526
12707
|
allowAny?: boolean
|
|
12527
12708
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
12528
12709
|
}]
|
|
@@ -12535,19 +12716,30 @@ type TsSwitchExhaustivenessCheck = []|[{
|
|
|
12535
12716
|
}]
|
|
12536
12717
|
// ----- ts/triple-slash-reference -----
|
|
12537
12718
|
type TsTripleSlashReference = []|[{
|
|
12719
|
+
|
|
12538
12720
|
lib?: ("always" | "never")
|
|
12721
|
+
|
|
12539
12722
|
path?: ("always" | "never")
|
|
12723
|
+
|
|
12540
12724
|
types?: ("always" | "never" | "prefer-import")
|
|
12541
12725
|
}]
|
|
12542
12726
|
// ----- ts/typedef -----
|
|
12543
12727
|
type TsTypedef = []|[{
|
|
12728
|
+
|
|
12544
12729
|
arrayDestructuring?: boolean
|
|
12730
|
+
|
|
12545
12731
|
arrowParameter?: boolean
|
|
12732
|
+
|
|
12546
12733
|
memberVariableDeclaration?: boolean
|
|
12734
|
+
|
|
12547
12735
|
objectDestructuring?: boolean
|
|
12736
|
+
|
|
12548
12737
|
parameter?: boolean
|
|
12738
|
+
|
|
12549
12739
|
propertyDeclaration?: boolean
|
|
12740
|
+
|
|
12550
12741
|
variableDeclaration?: boolean
|
|
12742
|
+
|
|
12551
12743
|
variableDeclarationIgnoreFunction?: boolean
|
|
12552
12744
|
}]
|
|
12553
12745
|
// ----- ts/unbound-method -----
|
|
@@ -12767,28 +12959,48 @@ type UnocssEnforceClassCompile = []|[{
|
|
|
12767
12959
|
}]
|
|
12768
12960
|
// ----- unused-imports/no-unused-imports -----
|
|
12769
12961
|
type UnusedImportsNoUnusedImports = []|[(("all" | "local") | {
|
|
12962
|
+
|
|
12770
12963
|
vars?: ("all" | "local")
|
|
12964
|
+
|
|
12771
12965
|
varsIgnorePattern?: string
|
|
12966
|
+
|
|
12772
12967
|
args?: ("all" | "after-used" | "none")
|
|
12773
|
-
|
|
12968
|
+
|
|
12774
12969
|
argsIgnorePattern?: string
|
|
12970
|
+
|
|
12775
12971
|
caughtErrors?: ("all" | "none")
|
|
12972
|
+
|
|
12776
12973
|
caughtErrorsIgnorePattern?: string
|
|
12974
|
+
|
|
12777
12975
|
destructuredArrayIgnorePattern?: string
|
|
12976
|
+
|
|
12778
12977
|
ignoreClassWithStaticInitBlock?: boolean
|
|
12978
|
+
|
|
12979
|
+
ignoreRestSiblings?: boolean
|
|
12980
|
+
|
|
12779
12981
|
reportUsedIgnorePattern?: boolean
|
|
12780
12982
|
})]
|
|
12781
12983
|
// ----- unused-imports/no-unused-vars -----
|
|
12782
12984
|
type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
|
|
12985
|
+
|
|
12783
12986
|
vars?: ("all" | "local")
|
|
12987
|
+
|
|
12784
12988
|
varsIgnorePattern?: string
|
|
12989
|
+
|
|
12785
12990
|
args?: ("all" | "after-used" | "none")
|
|
12786
|
-
|
|
12991
|
+
|
|
12787
12992
|
argsIgnorePattern?: string
|
|
12993
|
+
|
|
12788
12994
|
caughtErrors?: ("all" | "none")
|
|
12995
|
+
|
|
12789
12996
|
caughtErrorsIgnorePattern?: string
|
|
12997
|
+
|
|
12790
12998
|
destructuredArrayIgnorePattern?: string
|
|
12999
|
+
|
|
12791
13000
|
ignoreClassWithStaticInitBlock?: boolean
|
|
13001
|
+
|
|
13002
|
+
ignoreRestSiblings?: boolean
|
|
13003
|
+
|
|
12792
13004
|
reportUsedIgnorePattern?: boolean
|
|
12793
13005
|
})]
|
|
12794
13006
|
// ----- use-isnan -----
|
|
@@ -12932,7 +13144,7 @@ type VueCustomEventNameCasing = ([]|[("kebab-case" | "camelCase")]|[("kebab-case
|
|
|
12932
13144
|
type VueDefineEmitsDeclaration = []|[("type-based" | "type-literal" | "runtime")]
|
|
12933
13145
|
// ----- vue/define-macros-order -----
|
|
12934
13146
|
type VueDefineMacrosOrder = []|[{
|
|
12935
|
-
order?:
|
|
13147
|
+
order?: string[]
|
|
12936
13148
|
defineExposeLast?: boolean
|
|
12937
13149
|
}]
|
|
12938
13150
|
// ----- vue/define-props-declaration -----
|
|
@@ -13467,6 +13679,14 @@ type VueMaxLinesPerBlock = []|[{
|
|
|
13467
13679
|
script?: number
|
|
13468
13680
|
skipBlankLines?: boolean
|
|
13469
13681
|
}]
|
|
13682
|
+
// ----- vue/max-props -----
|
|
13683
|
+
type VueMaxProps = []|[{
|
|
13684
|
+
maxProps?: number
|
|
13685
|
+
}]
|
|
13686
|
+
// ----- vue/max-template-depth -----
|
|
13687
|
+
type VueMaxTemplateDepth = []|[{
|
|
13688
|
+
maxDepth?: number
|
|
13689
|
+
}]
|
|
13470
13690
|
// ----- vue/multi-word-component-names -----
|
|
13471
13691
|
type VueMultiWordComponentNames = []|[{
|
|
13472
13692
|
ignores?: string[]
|
|
@@ -13881,6 +14101,10 @@ type VueRequireMacroVariableName = []|[{
|
|
|
13881
14101
|
type VueRequirePropComment = []|[{
|
|
13882
14102
|
type?: ("JSDoc" | "line" | "block" | "any")
|
|
13883
14103
|
}]
|
|
14104
|
+
// ----- vue/require-toggle-inside-transition -----
|
|
14105
|
+
type VueRequireToggleInsideTransition = []|[{
|
|
14106
|
+
additionalDirectives?: string[]
|
|
14107
|
+
}]
|
|
13884
14108
|
// ----- vue/return-in-computed-property -----
|
|
13885
14109
|
type VueReturnInComputedProperty = []|[{
|
|
13886
14110
|
treatUndefinedAsUnspecified?: boolean
|
|
@@ -13985,7 +14209,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
13985
14209
|
onlyEquality?: boolean
|
|
13986
14210
|
}]
|
|
13987
14211
|
// Names of all the configs
|
|
13988
|
-
type ConfigNames = 'coderwyd/eslint-comments/rules' | 'coderwyd/formatter/setup' | 'coderwyd/imports/rules' | 'coderwyd/
|
|
14212
|
+
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
14213
|
|
|
13990
14214
|
type Rules = RuleOptions;
|
|
13991
14215
|
|
|
@@ -14596,6 +14820,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
14596
14820
|
'svelte/valid-each-key'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14597
14821
|
'svelte/valid-prop-names-in-kit-pages'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14598
14822
|
'accessor-pairs'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14823
|
+
'antfu/consistent-chaining'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14599
14824
|
'antfu/consistent-list-newline'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
14600
14825
|
'antfu/curly'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
14601
14826
|
'antfu/if-newline'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
@@ -15060,6 +15285,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
15060
15285
|
'perfectionist/sort-named-imports'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15061
15286
|
'perfectionist/sort-object-types'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15062
15287
|
'perfectionist/sort-objects'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15288
|
+
'perfectionist/sort-sets'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15063
15289
|
'perfectionist/sort-svelte-attributes'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15064
15290
|
'perfectionist/sort-switch-case'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15065
15291
|
'perfectionist/sort-union-types'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
@@ -15094,10 +15320,12 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
15094
15320
|
'react-dom/no-unsafe-iframe-sandbox'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15095
15321
|
'react-dom/no-unsafe-target-blank'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15096
15322
|
'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
15323
|
'react-hooks-extra/ensure-use-memo-has-non-empty-deps'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15099
15324
|
'react-hooks-extra/no-direct-set-state-in-use-effect'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15100
15325
|
'react-hooks-extra/no-direct-set-state-in-use-layout-effect'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15326
|
+
'react-hooks-extra/no-redundant-custom-hook'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15327
|
+
'react-hooks-extra/no-unnecessary-use-callback'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15328
|
+
'react-hooks-extra/no-unnecessary-use-memo'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15101
15329
|
'react-hooks-extra/prefer-use-state-lazy-initialization'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15102
15330
|
'react-hooks/exhaustive-deps'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15103
15331
|
'react-hooks/rules-of-hooks'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
@@ -15743,6 +15971,8 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
15743
15971
|
'vue/max-attributes-per-line'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15744
15972
|
'vue/max-len'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15745
15973
|
'vue/max-lines-per-block'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15974
|
+
'vue/max-props'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15975
|
+
'vue/max-template-depth'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15746
15976
|
'vue/multi-word-component-names'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15747
15977
|
'vue/multiline-html-element-content-newline'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15748
15978
|
'vue/multiline-ternary'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
@@ -15872,6 +16102,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
15872
16102
|
'vue/prop-name-casing'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15873
16103
|
'vue/quote-props'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15874
16104
|
'vue/require-component-is'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
16105
|
+
'vue/require-default-export'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15875
16106
|
'vue/require-default-prop'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15876
16107
|
'vue/require-direct-export'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15877
16108
|
'vue/require-emit-validator'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
@@ -15885,7 +16116,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
15885
16116
|
'vue/require-prop-types'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15886
16117
|
'vue/require-render-return'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15887
16118
|
'vue/require-slots-as-functions'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15888
|
-
'vue/require-toggle-inside-transition'?: eslint.Linter.RuleEntry<
|
|
16119
|
+
'vue/require-toggle-inside-transition'?: eslint.Linter.RuleEntry<undefined> | undefined;
|
|
15889
16120
|
'vue/require-typed-object-prop'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15890
16121
|
'vue/require-typed-ref'?: eslint.Linter.RuleEntry<[]> | undefined;
|
|
15891
16122
|
'vue/require-v-for-key'?: eslint.Linter.RuleEntry<[]> | undefined;
|