@coderwyd/eslint-config 2.5.6 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.cjs +9 -9
- package/dist/cli.js +9 -9
- package/dist/index.cjs +7 -6
- package/dist/index.d.cts +293 -810
- package/dist/index.d.ts +293 -810
- package/dist/index.js +7 -6
- package/package.json +18 -18
package/dist/index.d.cts
CHANGED
|
@@ -382,42 +382,42 @@ interface RuleOptions {
|
|
|
382
382
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
383
383
|
/**
|
|
384
384
|
* 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/
|
|
385
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/consistent-type-specifier-style.md
|
|
386
386
|
*/
|
|
387
387
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
388
388
|
/**
|
|
389
389
|
* Ensure a default export is present, given a default import.
|
|
390
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
390
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/default.md
|
|
391
391
|
*/
|
|
392
392
|
'import/default'?: Linter.RuleEntry<[]>
|
|
393
393
|
/**
|
|
394
394
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
395
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
395
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/dynamic-import-chunkname.md
|
|
396
396
|
*/
|
|
397
397
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
398
398
|
/**
|
|
399
399
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
400
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
400
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/export.md
|
|
401
401
|
*/
|
|
402
402
|
'import/export'?: Linter.RuleEntry<[]>
|
|
403
403
|
/**
|
|
404
404
|
* Ensure all exports appear after other statements.
|
|
405
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
405
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/exports-last.md
|
|
406
406
|
*/
|
|
407
407
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
408
408
|
/**
|
|
409
409
|
* Ensure consistent use of file extension within the import path.
|
|
410
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
410
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/extensions.md
|
|
411
411
|
*/
|
|
412
412
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
413
413
|
/**
|
|
414
414
|
* Ensure all imports appear before other statements.
|
|
415
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
415
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/first.md
|
|
416
416
|
*/
|
|
417
417
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
418
418
|
/**
|
|
419
419
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
420
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
420
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/group-exports.md
|
|
421
421
|
*/
|
|
422
422
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
423
423
|
/**
|
|
@@ -428,182 +428,182 @@ interface RuleOptions {
|
|
|
428
428
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
429
429
|
/**
|
|
430
430
|
* Enforce the maximum number of dependencies a module can have.
|
|
431
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
431
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/max-dependencies.md
|
|
432
432
|
*/
|
|
433
433
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
434
434
|
/**
|
|
435
435
|
* Ensure named imports correspond to a named export in the remote file.
|
|
436
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
436
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/named.md
|
|
437
437
|
*/
|
|
438
438
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
439
439
|
/**
|
|
440
440
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
441
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
441
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/namespace.md
|
|
442
442
|
*/
|
|
443
443
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
444
444
|
/**
|
|
445
445
|
* Enforce a newline after import statements.
|
|
446
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
446
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/newline-after-import.md
|
|
447
447
|
*/
|
|
448
448
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
449
449
|
/**
|
|
450
450
|
* Forbid import of modules using absolute paths.
|
|
451
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
451
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-absolute-path.md
|
|
452
452
|
*/
|
|
453
453
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
454
454
|
/**
|
|
455
455
|
* Forbid AMD `require` and `define` calls.
|
|
456
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
456
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-amd.md
|
|
457
457
|
*/
|
|
458
458
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
459
459
|
/**
|
|
460
460
|
* Forbid anonymous values as default exports.
|
|
461
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
461
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-anonymous-default-export.md
|
|
462
462
|
*/
|
|
463
463
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
464
464
|
/**
|
|
465
465
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
466
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
466
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-commonjs.md
|
|
467
467
|
*/
|
|
468
468
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
469
469
|
/**
|
|
470
470
|
* 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/
|
|
471
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-cycle.md
|
|
472
472
|
*/
|
|
473
473
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
474
474
|
/**
|
|
475
475
|
* Forbid default exports.
|
|
476
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
476
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-default-export.md
|
|
477
477
|
*/
|
|
478
478
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
479
479
|
/**
|
|
480
480
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
481
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
481
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-deprecated.md
|
|
482
482
|
*/
|
|
483
483
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
484
484
|
/**
|
|
485
485
|
* Forbid repeated import of the same module in multiple places.
|
|
486
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
486
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-duplicates.md
|
|
487
487
|
*/
|
|
488
488
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
489
489
|
/**
|
|
490
490
|
* Forbid `require()` calls with expressions.
|
|
491
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
491
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-dynamic-require.md
|
|
492
492
|
*/
|
|
493
493
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
494
494
|
/**
|
|
495
495
|
* Forbid empty named import blocks.
|
|
496
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
496
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-empty-named-blocks.md
|
|
497
497
|
*/
|
|
498
498
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
499
499
|
/**
|
|
500
500
|
* Forbid the use of extraneous packages.
|
|
501
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
501
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-extraneous-dependencies.md
|
|
502
502
|
*/
|
|
503
503
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
504
504
|
/**
|
|
505
505
|
* Forbid import statements with CommonJS module.exports.
|
|
506
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
506
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-import-module-exports.md
|
|
507
507
|
*/
|
|
508
508
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
509
509
|
/**
|
|
510
510
|
* Forbid importing the submodules of other modules.
|
|
511
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
511
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-internal-modules.md
|
|
512
512
|
*/
|
|
513
513
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
514
514
|
/**
|
|
515
515
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
516
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
516
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-mutable-exports.md
|
|
517
517
|
*/
|
|
518
518
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
519
519
|
/**
|
|
520
520
|
* Forbid use of exported name as identifier of default export.
|
|
521
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
521
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-named-as-default.md
|
|
522
522
|
*/
|
|
523
523
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
524
524
|
/**
|
|
525
525
|
* Forbid use of exported name as property of default export.
|
|
526
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
526
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-named-as-default-member.md
|
|
527
527
|
*/
|
|
528
528
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
529
529
|
/**
|
|
530
530
|
* Forbid named default exports.
|
|
531
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
531
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-named-default.md
|
|
532
532
|
*/
|
|
533
533
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
534
534
|
/**
|
|
535
535
|
* Forbid named exports.
|
|
536
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
536
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-named-export.md
|
|
537
537
|
*/
|
|
538
538
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
539
539
|
/**
|
|
540
540
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
541
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
541
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-namespace.md
|
|
542
542
|
*/
|
|
543
543
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
544
544
|
/**
|
|
545
545
|
* Forbid Node.js builtin modules.
|
|
546
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
546
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-nodejs-modules.md
|
|
547
547
|
*/
|
|
548
548
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
549
549
|
/**
|
|
550
550
|
* Forbid importing packages through relative paths.
|
|
551
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
551
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-relative-packages.md
|
|
552
552
|
*/
|
|
553
553
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
554
554
|
/**
|
|
555
555
|
* Forbid importing modules from parent directories.
|
|
556
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
556
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-relative-parent-imports.md
|
|
557
557
|
*/
|
|
558
558
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
559
559
|
/**
|
|
560
560
|
* Enforce which files can be imported in a given folder.
|
|
561
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
561
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-restricted-paths.md
|
|
562
562
|
*/
|
|
563
563
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
564
564
|
/**
|
|
565
565
|
* Forbid a module from importing itself.
|
|
566
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
566
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-self-import.md
|
|
567
567
|
*/
|
|
568
568
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
569
569
|
/**
|
|
570
570
|
* Forbid unassigned imports.
|
|
571
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
571
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-unassigned-import.md
|
|
572
572
|
*/
|
|
573
573
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
574
574
|
/**
|
|
575
575
|
* Ensure imports point to a file/module that can be resolved.
|
|
576
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
576
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-unresolved.md
|
|
577
577
|
*/
|
|
578
578
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
579
579
|
/**
|
|
580
580
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
581
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
581
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-unused-modules.md
|
|
582
582
|
*/
|
|
583
583
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
584
584
|
/**
|
|
585
585
|
* Forbid unnecessary path segments in import and require statements.
|
|
586
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
586
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-useless-path-segments.md
|
|
587
587
|
*/
|
|
588
588
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
589
589
|
/**
|
|
590
590
|
* Forbid webpack loader syntax in imports.
|
|
591
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
591
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-webpack-loader-syntax.md
|
|
592
592
|
*/
|
|
593
593
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
594
594
|
/**
|
|
595
595
|
* Enforce a convention in module import order.
|
|
596
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
596
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/order.md
|
|
597
597
|
*/
|
|
598
598
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
599
599
|
/**
|
|
600
600
|
* Prefer a default export if module exports a single name or multiple names.
|
|
601
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
601
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/prefer-default-export.md
|
|
602
602
|
*/
|
|
603
603
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
604
604
|
/**
|
|
605
605
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
606
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
606
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/unambiguous.md
|
|
607
607
|
*/
|
|
608
608
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
609
609
|
/**
|
|
@@ -678,6 +678,11 @@ interface RuleOptions {
|
|
|
678
678
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-values.md#repos-sticky-header
|
|
679
679
|
*/
|
|
680
680
|
'jsdoc/check-values'?: Linter.RuleEntry<JsdocCheckValues>
|
|
681
|
+
/**
|
|
682
|
+
* Converts non-JSDoc comments preceding or following nodes into JSDoc ones
|
|
683
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/convert-to-jsdoc-comments.md#repos-sticky-header
|
|
684
|
+
*/
|
|
685
|
+
'jsdoc/convert-to-jsdoc-comments'?: Linter.RuleEntry<JsdocConvertToJsdocComments>
|
|
681
686
|
/**
|
|
682
687
|
* Expects specific tags to be empty of any content.
|
|
683
688
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/empty-tags.md#repos-sticky-header
|
|
@@ -852,6 +857,11 @@ interface RuleOptions {
|
|
|
852
857
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-type.md#repos-sticky-header
|
|
853
858
|
*/
|
|
854
859
|
'jsdoc/require-returns-type'?: Linter.RuleEntry<JsdocRequireReturnsType>
|
|
860
|
+
/**
|
|
861
|
+
* Requires template tags for each generic type parameter
|
|
862
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template.md#repos-sticky-header
|
|
863
|
+
*/
|
|
864
|
+
'jsdoc/require-template'?: Linter.RuleEntry<JsdocRequireTemplate>
|
|
855
865
|
/**
|
|
856
866
|
* Requires that throw statements are documented.
|
|
857
867
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws.md#repos-sticky-header
|
|
@@ -2537,7 +2547,7 @@ interface RuleOptions {
|
|
|
2537
2547
|
*/
|
|
2538
2548
|
'react-dom/no-unsafe-iframe-sandbox'?: Linter.RuleEntry<[]>
|
|
2539
2549
|
/**
|
|
2540
|
-
* disallow 'target="_blank"' on an external link without 'rel="noreferrer noopener"'
|
|
2550
|
+
* disallow 'target="_blank"' on an external link without 'rel="noreferrer noopener"'
|
|
2541
2551
|
* @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-target-blank
|
|
2542
2552
|
*/
|
|
2543
2553
|
'react-dom/no-unsafe-target-blank'?: Linter.RuleEntry<[]>
|
|
@@ -2780,7 +2790,7 @@ interface RuleOptions {
|
|
|
2780
2790
|
*/
|
|
2781
2791
|
'react/no-unused-class-component-members'?: Linter.RuleEntry<[]>
|
|
2782
2792
|
/**
|
|
2783
|
-
* Prevents unused state of class component
|
|
2793
|
+
* Prevents unused state of class component
|
|
2784
2794
|
* @see https://eslint-react.xyz/docs/rules/no-unused-state
|
|
2785
2795
|
*/
|
|
2786
2796
|
'react/no-unused-state'?: Linter.RuleEntry<[]>
|
|
@@ -2794,6 +2804,11 @@ interface RuleOptions {
|
|
|
2794
2804
|
* @see https://eslint-react.xyz/docs/rules/prefer-destructuring-assignment
|
|
2795
2805
|
*/
|
|
2796
2806
|
'react/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>
|
|
2807
|
+
/**
|
|
2808
|
+
* enforce that component props are read-only
|
|
2809
|
+
* @see https://eslint-react.xyz/docs/rules/prefer-read-only-props
|
|
2810
|
+
*/
|
|
2811
|
+
'react/prefer-read-only-props'?: Linter.RuleEntry<[]>
|
|
2797
2812
|
/**
|
|
2798
2813
|
* enforce boolean attributes notation in JSX
|
|
2799
2814
|
* @see https://eslint-react.xyz/docs/rules/prefer-shorthand-boolean
|
|
@@ -4117,6 +4132,46 @@ interface RuleOptions {
|
|
|
4117
4132
|
* @see https://eslint.org/docs/latest/rules/symbol-description
|
|
4118
4133
|
*/
|
|
4119
4134
|
'symbol-description'?: Linter.RuleEntry<[]>
|
|
4135
|
+
/**
|
|
4136
|
+
* Enforce a consistent and logical order of the Tailwind CSS classnames
|
|
4137
|
+
* @see https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/master/docs/rules/classnames-order.md
|
|
4138
|
+
*/
|
|
4139
|
+
'tailwindcss/classnames-order'?: Linter.RuleEntry<TailwindcssClassnamesOrder>
|
|
4140
|
+
/**
|
|
4141
|
+
* Warns about dash prefixed classnames using arbitrary values
|
|
4142
|
+
* @see https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/master/docs/rules/enforces-negative-arbitrary-values.md
|
|
4143
|
+
*/
|
|
4144
|
+
'tailwindcss/enforces-negative-arbitrary-values'?: Linter.RuleEntry<TailwindcssEnforcesNegativeArbitraryValues>
|
|
4145
|
+
/**
|
|
4146
|
+
* Enforces the usage of shorthand Tailwind CSS classnames
|
|
4147
|
+
* @see https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/master/docs/rules/enforces-shorthand.md
|
|
4148
|
+
*/
|
|
4149
|
+
'tailwindcss/enforces-shorthand'?: Linter.RuleEntry<TailwindcssEnforcesShorthand>
|
|
4150
|
+
/**
|
|
4151
|
+
* Detect obsolete classnames when upgrading to Tailwind CSS v3
|
|
4152
|
+
* @see https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/master/docs/rules/migration-from-tailwind-2.md
|
|
4153
|
+
*/
|
|
4154
|
+
'tailwindcss/migration-from-tailwind-2'?: Linter.RuleEntry<TailwindcssMigrationFromTailwind2>
|
|
4155
|
+
/**
|
|
4156
|
+
* Forbid using arbitrary values in classnames
|
|
4157
|
+
* @see https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/master/docs/rules/no-arbitrary-value.md
|
|
4158
|
+
*/
|
|
4159
|
+
'tailwindcss/no-arbitrary-value'?: Linter.RuleEntry<TailwindcssNoArbitraryValue>
|
|
4160
|
+
/**
|
|
4161
|
+
* Avoid contradicting Tailwind CSS classnames (e.g. "w-3 w-5")
|
|
4162
|
+
* @see https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/master/docs/rules/no-contradicting-classname.md
|
|
4163
|
+
*/
|
|
4164
|
+
'tailwindcss/no-contradicting-classname'?: Linter.RuleEntry<TailwindcssNoContradictingClassname>
|
|
4165
|
+
/**
|
|
4166
|
+
* Detect classnames which do not belong to Tailwind CSS
|
|
4167
|
+
* @see https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/master/docs/rules/no-custom-classname.md
|
|
4168
|
+
*/
|
|
4169
|
+
'tailwindcss/no-custom-classname'?: Linter.RuleEntry<TailwindcssNoCustomClassname>
|
|
4170
|
+
/**
|
|
4171
|
+
* Forbid using arbitrary values in classnames when an equivalent preset exists
|
|
4172
|
+
* @see https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/master/docs/rules/no-unnecessary-arbitrary-value.md
|
|
4173
|
+
*/
|
|
4174
|
+
'tailwindcss/no-unnecessary-arbitrary-value'?: Linter.RuleEntry<TailwindcssNoUnnecessaryArbitraryValue>
|
|
4120
4175
|
/**
|
|
4121
4176
|
* Require or disallow spacing around embedded expressions of template strings
|
|
4122
4177
|
* @see https://eslint.org/docs/latest/rules/template-curly-spacing
|
|
@@ -4420,23 +4475,6 @@ interface RuleOptions {
|
|
|
4420
4475
|
* @see https://typescript-eslint.io/rules/ban-tslint-comment
|
|
4421
4476
|
*/
|
|
4422
4477
|
'ts/ban-tslint-comment'?: Linter.RuleEntry<[]>
|
|
4423
|
-
/**
|
|
4424
|
-
* Disallow certain types
|
|
4425
|
-
* @see https://typescript-eslint.io/rules/ban-types
|
|
4426
|
-
*/
|
|
4427
|
-
'ts/ban-types'?: Linter.RuleEntry<TsBanTypes>
|
|
4428
|
-
/**
|
|
4429
|
-
* Disallow or enforce spaces inside of blocks after opening block and before closing block
|
|
4430
|
-
* @see https://typescript-eslint.io/rules/block-spacing
|
|
4431
|
-
* @deprecated
|
|
4432
|
-
*/
|
|
4433
|
-
'ts/block-spacing'?: Linter.RuleEntry<TsBlockSpacing>
|
|
4434
|
-
/**
|
|
4435
|
-
* Enforce consistent brace style for blocks
|
|
4436
|
-
* @see https://typescript-eslint.io/rules/brace-style
|
|
4437
|
-
* @deprecated
|
|
4438
|
-
*/
|
|
4439
|
-
'ts/brace-style'?: Linter.RuleEntry<TsBraceStyle>
|
|
4440
4478
|
/**
|
|
4441
4479
|
* Enforce that literals on classes are exposed in a consistent style
|
|
4442
4480
|
* @see https://typescript-eslint.io/rules/class-literal-property-style
|
|
@@ -4447,18 +4485,6 @@ interface RuleOptions {
|
|
|
4447
4485
|
* @see https://typescript-eslint.io/rules/class-methods-use-this
|
|
4448
4486
|
*/
|
|
4449
4487
|
'ts/class-methods-use-this'?: Linter.RuleEntry<TsClassMethodsUseThis>
|
|
4450
|
-
/**
|
|
4451
|
-
* Require or disallow trailing commas
|
|
4452
|
-
* @see https://typescript-eslint.io/rules/comma-dangle
|
|
4453
|
-
* @deprecated
|
|
4454
|
-
*/
|
|
4455
|
-
'ts/comma-dangle'?: Linter.RuleEntry<TsCommaDangle>
|
|
4456
|
-
/**
|
|
4457
|
-
* Enforce consistent spacing before and after commas
|
|
4458
|
-
* @see https://typescript-eslint.io/rules/comma-spacing
|
|
4459
|
-
* @deprecated
|
|
4460
|
-
*/
|
|
4461
|
-
'ts/comma-spacing'?: Linter.RuleEntry<TsCommaSpacing>
|
|
4462
4488
|
/**
|
|
4463
4489
|
* Enforce specifying generic type arguments on type annotation or constructor name of a constructor call
|
|
4464
4490
|
* @see https://typescript-eslint.io/rules/consistent-generic-constructors
|
|
@@ -4519,58 +4545,16 @@ interface RuleOptions {
|
|
|
4519
4545
|
* @see https://typescript-eslint.io/rules/explicit-module-boundary-types
|
|
4520
4546
|
*/
|
|
4521
4547
|
'ts/explicit-module-boundary-types'?: Linter.RuleEntry<TsExplicitModuleBoundaryTypes>
|
|
4522
|
-
/**
|
|
4523
|
-
* Require or disallow spacing between function identifiers and their invocations
|
|
4524
|
-
* @see https://typescript-eslint.io/rules/func-call-spacing
|
|
4525
|
-
* @deprecated
|
|
4526
|
-
*/
|
|
4527
|
-
'ts/func-call-spacing'?: Linter.RuleEntry<TsFuncCallSpacing>
|
|
4528
|
-
/**
|
|
4529
|
-
* Enforce consistent indentation
|
|
4530
|
-
* @see https://typescript-eslint.io/rules/indent
|
|
4531
|
-
* @deprecated
|
|
4532
|
-
*/
|
|
4533
|
-
'ts/indent'?: Linter.RuleEntry<TsIndent>
|
|
4534
4548
|
/**
|
|
4535
4549
|
* Require or disallow initialization in variable declarations
|
|
4536
4550
|
* @see https://typescript-eslint.io/rules/init-declarations
|
|
4537
4551
|
*/
|
|
4538
4552
|
'ts/init-declarations'?: Linter.RuleEntry<TsInitDeclarations>
|
|
4539
|
-
/**
|
|
4540
|
-
* Enforce consistent spacing between property names and type annotations in types and interfaces
|
|
4541
|
-
* @see https://typescript-eslint.io/rules/key-spacing
|
|
4542
|
-
* @deprecated
|
|
4543
|
-
*/
|
|
4544
|
-
'ts/key-spacing'?: Linter.RuleEntry<TsKeySpacing>
|
|
4545
|
-
/**
|
|
4546
|
-
* Enforce consistent spacing before and after keywords
|
|
4547
|
-
* @see https://typescript-eslint.io/rules/keyword-spacing
|
|
4548
|
-
* @deprecated
|
|
4549
|
-
*/
|
|
4550
|
-
'ts/keyword-spacing'?: Linter.RuleEntry<TsKeywordSpacing>
|
|
4551
|
-
/**
|
|
4552
|
-
* Require empty lines around comments
|
|
4553
|
-
* @see https://typescript-eslint.io/rules/lines-around-comment
|
|
4554
|
-
* @deprecated
|
|
4555
|
-
*/
|
|
4556
|
-
'ts/lines-around-comment'?: Linter.RuleEntry<TsLinesAroundComment>
|
|
4557
|
-
/**
|
|
4558
|
-
* Require or disallow an empty line between class members
|
|
4559
|
-
* @see https://typescript-eslint.io/rules/lines-between-class-members
|
|
4560
|
-
* @deprecated
|
|
4561
|
-
*/
|
|
4562
|
-
'ts/lines-between-class-members'?: Linter.RuleEntry<TsLinesBetweenClassMembers>
|
|
4563
4553
|
/**
|
|
4564
4554
|
* Enforce a maximum number of parameters in function definitions
|
|
4565
4555
|
* @see https://typescript-eslint.io/rules/max-params
|
|
4566
4556
|
*/
|
|
4567
4557
|
'ts/max-params'?: Linter.RuleEntry<TsMaxParams>
|
|
4568
|
-
/**
|
|
4569
|
-
* Require a specific member delimiter style for interfaces and type literals
|
|
4570
|
-
* @see https://typescript-eslint.io/rules/member-delimiter-style
|
|
4571
|
-
* @deprecated
|
|
4572
|
-
*/
|
|
4573
|
-
'ts/member-delimiter-style'?: Linter.RuleEntry<TsMemberDelimiterStyle>
|
|
4574
4558
|
/**
|
|
4575
4559
|
* Require a consistent member declaration order
|
|
4576
4560
|
* @see https://typescript-eslint.io/rules/member-ordering
|
|
@@ -4639,6 +4623,7 @@ interface RuleOptions {
|
|
|
4639
4623
|
/**
|
|
4640
4624
|
* Disallow the declaration of empty interfaces
|
|
4641
4625
|
* @see https://typescript-eslint.io/rules/no-empty-interface
|
|
4626
|
+
* @deprecated
|
|
4642
4627
|
*/
|
|
4643
4628
|
'ts/no-empty-interface'?: Linter.RuleEntry<TsNoEmptyInterface>
|
|
4644
4629
|
/**
|
|
@@ -4656,18 +4641,6 @@ interface RuleOptions {
|
|
|
4656
4641
|
* @see https://typescript-eslint.io/rules/no-extra-non-null-assertion
|
|
4657
4642
|
*/
|
|
4658
4643
|
'ts/no-extra-non-null-assertion'?: Linter.RuleEntry<[]>
|
|
4659
|
-
/**
|
|
4660
|
-
* Disallow unnecessary parentheses
|
|
4661
|
-
* @see https://typescript-eslint.io/rules/no-extra-parens
|
|
4662
|
-
* @deprecated
|
|
4663
|
-
*/
|
|
4664
|
-
'ts/no-extra-parens'?: Linter.RuleEntry<TsNoExtraParens>
|
|
4665
|
-
/**
|
|
4666
|
-
* Disallow unnecessary semicolons
|
|
4667
|
-
* @see https://typescript-eslint.io/rules/no-extra-semi
|
|
4668
|
-
* @deprecated
|
|
4669
|
-
*/
|
|
4670
|
-
'ts/no-extra-semi'?: Linter.RuleEntry<[]>
|
|
4671
4644
|
/**
|
|
4672
4645
|
* Disallow classes used as namespaces
|
|
4673
4646
|
* @see https://typescript-eslint.io/rules/no-extraneous-class
|
|
@@ -4716,6 +4689,7 @@ interface RuleOptions {
|
|
|
4716
4689
|
/**
|
|
4717
4690
|
* Disallow literal numbers that lose precision
|
|
4718
4691
|
* @see https://typescript-eslint.io/rules/no-loss-of-precision
|
|
4692
|
+
* @deprecated
|
|
4719
4693
|
*/
|
|
4720
4694
|
'ts/no-loss-of-precision'?: Linter.RuleEntry<[]>
|
|
4721
4695
|
/**
|
|
@@ -4783,6 +4757,11 @@ interface RuleOptions {
|
|
|
4783
4757
|
* @see https://typescript-eslint.io/rules/no-restricted-imports
|
|
4784
4758
|
*/
|
|
4785
4759
|
'ts/no-restricted-imports'?: Linter.RuleEntry<TsNoRestrictedImports>
|
|
4760
|
+
/**
|
|
4761
|
+
* Disallow certain types
|
|
4762
|
+
* @see https://typescript-eslint.io/rules/no-restricted-types
|
|
4763
|
+
*/
|
|
4764
|
+
'ts/no-restricted-types'?: Linter.RuleEntry<TsNoRestrictedTypes>
|
|
4786
4765
|
/**
|
|
4787
4766
|
* Disallow variable declarations from shadowing variables declared in the outer scope
|
|
4788
4767
|
* @see https://typescript-eslint.io/rules/no-shadow
|
|
@@ -4793,12 +4772,6 @@ interface RuleOptions {
|
|
|
4793
4772
|
* @see https://typescript-eslint.io/rules/no-this-alias
|
|
4794
4773
|
*/
|
|
4795
4774
|
'ts/no-this-alias'?: Linter.RuleEntry<TsNoThisAlias>
|
|
4796
|
-
/**
|
|
4797
|
-
* Disallow throwing literals as exceptions
|
|
4798
|
-
* @see https://typescript-eslint.io/rules/no-throw-literal
|
|
4799
|
-
* @deprecated
|
|
4800
|
-
*/
|
|
4801
|
-
'ts/no-throw-literal'?: Linter.RuleEntry<TsNoThrowLiteral>
|
|
4802
4775
|
/**
|
|
4803
4776
|
* Disallow type aliases
|
|
4804
4777
|
* @see https://typescript-eslint.io/rules/no-type-alias
|
|
@@ -4815,6 +4788,11 @@ interface RuleOptions {
|
|
|
4815
4788
|
* @see https://typescript-eslint.io/rules/no-unnecessary-condition
|
|
4816
4789
|
*/
|
|
4817
4790
|
'ts/no-unnecessary-condition'?: Linter.RuleEntry<TsNoUnnecessaryCondition>
|
|
4791
|
+
/**
|
|
4792
|
+
* Disallow unnecessary assignment of constructor property parameter
|
|
4793
|
+
* @see https://typescript-eslint.io/rules/no-unnecessary-parameter-property-assignment
|
|
4794
|
+
*/
|
|
4795
|
+
'ts/no-unnecessary-parameter-property-assignment'?: Linter.RuleEntry<[]>
|
|
4818
4796
|
/**
|
|
4819
4797
|
* Disallow unnecessary namespace qualifiers
|
|
4820
4798
|
* @see https://typescript-eslint.io/rules/no-unnecessary-qualifier
|
|
@@ -4840,6 +4818,11 @@ interface RuleOptions {
|
|
|
4840
4818
|
* @see https://typescript-eslint.io/rules/no-unnecessary-type-constraint
|
|
4841
4819
|
*/
|
|
4842
4820
|
'ts/no-unnecessary-type-constraint'?: Linter.RuleEntry<[]>
|
|
4821
|
+
/**
|
|
4822
|
+
* Disallow type parameters that only appear once
|
|
4823
|
+
* @see https://typescript-eslint.io/rules/no-unnecessary-type-parameters
|
|
4824
|
+
*/
|
|
4825
|
+
'ts/no-unnecessary-type-parameters'?: Linter.RuleEntry<[]>
|
|
4843
4826
|
/**
|
|
4844
4827
|
* Disallow calling a function with a value with type `any`
|
|
4845
4828
|
* @see https://typescript-eslint.io/rules/no-unsafe-argument
|
|
@@ -4865,6 +4848,11 @@ interface RuleOptions {
|
|
|
4865
4848
|
* @see https://typescript-eslint.io/rules/no-unsafe-enum-comparison
|
|
4866
4849
|
*/
|
|
4867
4850
|
'ts/no-unsafe-enum-comparison'?: Linter.RuleEntry<[]>
|
|
4851
|
+
/**
|
|
4852
|
+
* Disallow using the unsafe built-in Function type
|
|
4853
|
+
* @see https://typescript-eslint.io/rules/no-unsafe-function-type
|
|
4854
|
+
*/
|
|
4855
|
+
'ts/no-unsafe-function-type'?: Linter.RuleEntry<[]>
|
|
4868
4856
|
/**
|
|
4869
4857
|
* Disallow member access on a value with type `any`
|
|
4870
4858
|
* @see https://typescript-eslint.io/rules/no-unsafe-member-access
|
|
@@ -4905,39 +4893,27 @@ interface RuleOptions {
|
|
|
4905
4893
|
* @see https://typescript-eslint.io/rules/no-useless-empty-export
|
|
4906
4894
|
*/
|
|
4907
4895
|
'ts/no-useless-empty-export'?: Linter.RuleEntry<[]>
|
|
4908
|
-
/**
|
|
4909
|
-
* Disallow unnecessary template expressions
|
|
4910
|
-
* @see https://typescript-eslint.io/rules/no-useless-template-literals
|
|
4911
|
-
* @deprecated
|
|
4912
|
-
*/
|
|
4913
|
-
'ts/no-useless-template-literals'?: Linter.RuleEntry<[]>
|
|
4914
4896
|
/**
|
|
4915
4897
|
* Disallow `require` statements except in import statements
|
|
4916
4898
|
* @see https://typescript-eslint.io/rules/no-var-requires
|
|
4899
|
+
* @deprecated
|
|
4917
4900
|
*/
|
|
4918
4901
|
'ts/no-var-requires'?: Linter.RuleEntry<TsNoVarRequires>
|
|
4902
|
+
/**
|
|
4903
|
+
* Disallow using confusing built-in primitive class wrappers
|
|
4904
|
+
* @see https://typescript-eslint.io/rules/no-wrapper-object-types
|
|
4905
|
+
*/
|
|
4906
|
+
'ts/no-wrapper-object-types'?: Linter.RuleEntry<[]>
|
|
4919
4907
|
/**
|
|
4920
4908
|
* Enforce non-null assertions over explicit type casts
|
|
4921
4909
|
* @see https://typescript-eslint.io/rules/non-nullable-type-assertion-style
|
|
4922
4910
|
*/
|
|
4923
4911
|
'ts/non-nullable-type-assertion-style'?: Linter.RuleEntry<[]>
|
|
4924
|
-
/**
|
|
4925
|
-
* Enforce consistent spacing inside braces
|
|
4926
|
-
* @see https://typescript-eslint.io/rules/object-curly-spacing
|
|
4927
|
-
* @deprecated
|
|
4928
|
-
*/
|
|
4929
|
-
'ts/object-curly-spacing'?: Linter.RuleEntry<TsObjectCurlySpacing>
|
|
4930
4912
|
/**
|
|
4931
4913
|
* Disallow throwing non-`Error` values as exceptions
|
|
4932
4914
|
* @see https://typescript-eslint.io/rules/only-throw-error
|
|
4933
4915
|
*/
|
|
4934
4916
|
'ts/only-throw-error'?: Linter.RuleEntry<TsOnlyThrowError>
|
|
4935
|
-
/**
|
|
4936
|
-
* Require or disallow padding lines between statements
|
|
4937
|
-
* @see https://typescript-eslint.io/rules/padding-line-between-statements
|
|
4938
|
-
* @deprecated
|
|
4939
|
-
*/
|
|
4940
|
-
'ts/padding-line-between-statements'?: Linter.RuleEntry<TsPaddingLineBetweenStatements>
|
|
4941
4917
|
/**
|
|
4942
4918
|
* Require or disallow parameter properties in class constructors
|
|
4943
4919
|
* @see https://typescript-eslint.io/rules/parameter-properties
|
|
@@ -5044,12 +5020,6 @@ interface RuleOptions {
|
|
|
5044
5020
|
* @see https://typescript-eslint.io/rules/promise-function-async
|
|
5045
5021
|
*/
|
|
5046
5022
|
'ts/promise-function-async'?: Linter.RuleEntry<TsPromiseFunctionAsync>
|
|
5047
|
-
/**
|
|
5048
|
-
* Enforce the consistent use of either backticks, double, or single quotes
|
|
5049
|
-
* @see https://typescript-eslint.io/rules/quotes
|
|
5050
|
-
* @deprecated
|
|
5051
|
-
*/
|
|
5052
|
-
'ts/quotes'?: Linter.RuleEntry<TsQuotes>
|
|
5053
5023
|
/**
|
|
5054
5024
|
* Require `Array#sort` and `Array#toSorted` calls to always provide a `compareFunction`
|
|
5055
5025
|
* @see https://typescript-eslint.io/rules/require-array-sort-compare
|
|
@@ -5075,36 +5045,12 @@ interface RuleOptions {
|
|
|
5075
5045
|
* @see https://typescript-eslint.io/rules/return-await
|
|
5076
5046
|
*/
|
|
5077
5047
|
'ts/return-await'?: Linter.RuleEntry<TsReturnAwait>
|
|
5078
|
-
/**
|
|
5079
|
-
* Require or disallow semicolons instead of ASI
|
|
5080
|
-
* @see https://typescript-eslint.io/rules/semi
|
|
5081
|
-
* @deprecated
|
|
5082
|
-
*/
|
|
5083
|
-
'ts/semi'?: Linter.RuleEntry<TsSemi>
|
|
5084
5048
|
/**
|
|
5085
5049
|
* Enforce constituents of a type union/intersection to be sorted alphabetically
|
|
5086
5050
|
* @see https://typescript-eslint.io/rules/sort-type-constituents
|
|
5087
5051
|
* @deprecated
|
|
5088
5052
|
*/
|
|
5089
5053
|
'ts/sort-type-constituents'?: Linter.RuleEntry<TsSortTypeConstituents>
|
|
5090
|
-
/**
|
|
5091
|
-
* Enforce consistent spacing before blocks
|
|
5092
|
-
* @see https://typescript-eslint.io/rules/space-before-blocks
|
|
5093
|
-
* @deprecated
|
|
5094
|
-
*/
|
|
5095
|
-
'ts/space-before-blocks'?: Linter.RuleEntry<TsSpaceBeforeBlocks>
|
|
5096
|
-
/**
|
|
5097
|
-
* Enforce consistent spacing before function parenthesis
|
|
5098
|
-
* @see https://typescript-eslint.io/rules/space-before-function-paren
|
|
5099
|
-
* @deprecated
|
|
5100
|
-
*/
|
|
5101
|
-
'ts/space-before-function-paren'?: Linter.RuleEntry<TsSpaceBeforeFunctionParen>
|
|
5102
|
-
/**
|
|
5103
|
-
* Require spacing around infix operators
|
|
5104
|
-
* @see https://typescript-eslint.io/rules/space-infix-ops
|
|
5105
|
-
* @deprecated
|
|
5106
|
-
*/
|
|
5107
|
-
'ts/space-infix-ops'?: Linter.RuleEntry<TsSpaceInfixOps>
|
|
5108
5054
|
/**
|
|
5109
5055
|
* Disallow certain types in boolean expressions
|
|
5110
5056
|
* @see https://typescript-eslint.io/rules/strict-boolean-expressions
|
|
@@ -5120,12 +5066,6 @@ interface RuleOptions {
|
|
|
5120
5066
|
* @see https://typescript-eslint.io/rules/triple-slash-reference
|
|
5121
5067
|
*/
|
|
5122
5068
|
'ts/triple-slash-reference'?: Linter.RuleEntry<TsTripleSlashReference>
|
|
5123
|
-
/**
|
|
5124
|
-
* Require consistent spacing around type annotations
|
|
5125
|
-
* @see https://typescript-eslint.io/rules/type-annotation-spacing
|
|
5126
|
-
* @deprecated
|
|
5127
|
-
*/
|
|
5128
|
-
'ts/type-annotation-spacing'?: Linter.RuleEntry<TsTypeAnnotationSpacing>
|
|
5129
5069
|
/**
|
|
5130
5070
|
* Require type annotations in certain places
|
|
5131
5071
|
* @see https://typescript-eslint.io/rules/typedef
|
|
@@ -5856,21 +5796,11 @@ interface RuleOptions {
|
|
|
5856
5796
|
* @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
|
|
5857
5797
|
*/
|
|
5858
5798
|
'unused-imports/no-unused-imports'?: Linter.RuleEntry<UnusedImportsNoUnusedImports>
|
|
5859
|
-
/**
|
|
5860
|
-
* Disallow unused variables
|
|
5861
|
-
* @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
|
|
5862
|
-
*/
|
|
5863
|
-
'unused-imports/no-unused-imports-ts'?: Linter.RuleEntry<UnusedImportsNoUnusedImportsTs>
|
|
5864
5799
|
/**
|
|
5865
5800
|
* Disallow unused variables
|
|
5866
5801
|
* @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
|
|
5867
5802
|
*/
|
|
5868
5803
|
'unused-imports/no-unused-vars'?: Linter.RuleEntry<UnusedImportsNoUnusedVars>
|
|
5869
|
-
/**
|
|
5870
|
-
* Disallow unused variables
|
|
5871
|
-
* @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
|
|
5872
|
-
*/
|
|
5873
|
-
'unused-imports/no-unused-vars-ts'?: Linter.RuleEntry<UnusedImportsNoUnusedVarsTs>
|
|
5874
5804
|
/**
|
|
5875
5805
|
* Require calls to `isNaN()` when checking for `NaN`
|
|
5876
5806
|
* @see https://eslint.org/docs/latest/rules/use-isnan
|
|
@@ -7758,6 +7688,25 @@ type JsdocCheckValues = []|[{
|
|
|
7758
7688
|
licensePattern?: string
|
|
7759
7689
|
numericOnlyVariation?: boolean
|
|
7760
7690
|
}]
|
|
7691
|
+
// ----- jsdoc/convert-to-jsdoc-comments -----
|
|
7692
|
+
type JsdocConvertToJsdocComments = []|[{
|
|
7693
|
+
allowedPrefixes?: string[]
|
|
7694
|
+
contexts?: (string | {
|
|
7695
|
+
context?: string
|
|
7696
|
+
inlineCommentBlock?: boolean
|
|
7697
|
+
})[]
|
|
7698
|
+
contextsAfter?: (string | {
|
|
7699
|
+
context?: string
|
|
7700
|
+
inlineCommentBlock?: boolean
|
|
7701
|
+
})[]
|
|
7702
|
+
contextsBeforeAndAfter?: (string | {
|
|
7703
|
+
context?: string
|
|
7704
|
+
inlineCommentBlock?: boolean
|
|
7705
|
+
})[]
|
|
7706
|
+
enableFixer?: boolean
|
|
7707
|
+
enforceJsdocLineStyle?: ("multi" | "single")
|
|
7708
|
+
lineOrBlockStyle?: ("block" | "line" | "both")
|
|
7709
|
+
}]
|
|
7761
7710
|
// ----- jsdoc/empty-tags -----
|
|
7762
7711
|
type JsdocEmptyTags = []|[{
|
|
7763
7712
|
tags?: string[]
|
|
@@ -8045,6 +7994,10 @@ type JsdocRequireReturnsType = []|[{
|
|
|
8045
7994
|
context?: string
|
|
8046
7995
|
})[]
|
|
8047
7996
|
}]
|
|
7997
|
+
// ----- jsdoc/require-template -----
|
|
7998
|
+
type JsdocRequireTemplate = []|[{
|
|
7999
|
+
requireSeparateTemplates?: boolean
|
|
8000
|
+
}]
|
|
8048
8001
|
// ----- jsdoc/require-throws -----
|
|
8049
8002
|
type JsdocRequireThrows = []|[{
|
|
8050
8003
|
contexts?: (string | {
|
|
@@ -11228,6 +11181,90 @@ type SwitchColonSpacing = []|[{
|
|
|
11228
11181
|
before?: boolean
|
|
11229
11182
|
after?: boolean
|
|
11230
11183
|
}]
|
|
11184
|
+
// ----- tailwindcss/classnames-order -----
|
|
11185
|
+
type TailwindcssClassnamesOrder = []|[{
|
|
11186
|
+
callees?: string[]
|
|
11187
|
+
ignoredKeys?: string[]
|
|
11188
|
+
config?: (string | {
|
|
11189
|
+
[k: string]: unknown | undefined
|
|
11190
|
+
})
|
|
11191
|
+
removeDuplicates?: boolean
|
|
11192
|
+
tags?: string[]
|
|
11193
|
+
[k: string]: unknown | undefined
|
|
11194
|
+
}]
|
|
11195
|
+
// ----- tailwindcss/enforces-negative-arbitrary-values -----
|
|
11196
|
+
type TailwindcssEnforcesNegativeArbitraryValues = []|[{
|
|
11197
|
+
callees?: string[]
|
|
11198
|
+
ignoredKeys?: string[]
|
|
11199
|
+
config?: (string | {
|
|
11200
|
+
[k: string]: unknown | undefined
|
|
11201
|
+
})
|
|
11202
|
+
tags?: string[]
|
|
11203
|
+
[k: string]: unknown | undefined
|
|
11204
|
+
}]
|
|
11205
|
+
// ----- tailwindcss/enforces-shorthand -----
|
|
11206
|
+
type TailwindcssEnforcesShorthand = []|[{
|
|
11207
|
+
callees?: string[]
|
|
11208
|
+
ignoredKeys?: string[]
|
|
11209
|
+
config?: (string | {
|
|
11210
|
+
[k: string]: unknown | undefined
|
|
11211
|
+
})
|
|
11212
|
+
tags?: string[]
|
|
11213
|
+
[k: string]: unknown | undefined
|
|
11214
|
+
}]
|
|
11215
|
+
// ----- tailwindcss/migration-from-tailwind-2 -----
|
|
11216
|
+
type TailwindcssMigrationFromTailwind2 = []|[{
|
|
11217
|
+
callees?: string[]
|
|
11218
|
+
ignoredKeys?: string[]
|
|
11219
|
+
config?: (string | {
|
|
11220
|
+
[k: string]: unknown | undefined
|
|
11221
|
+
})
|
|
11222
|
+
tags?: string[]
|
|
11223
|
+
[k: string]: unknown | undefined
|
|
11224
|
+
}]
|
|
11225
|
+
// ----- tailwindcss/no-arbitrary-value -----
|
|
11226
|
+
type TailwindcssNoArbitraryValue = []|[{
|
|
11227
|
+
callees?: string[]
|
|
11228
|
+
ignoredKeys?: string[]
|
|
11229
|
+
config?: (string | {
|
|
11230
|
+
[k: string]: unknown | undefined
|
|
11231
|
+
})
|
|
11232
|
+
tags?: string[]
|
|
11233
|
+
[k: string]: unknown | undefined
|
|
11234
|
+
}]
|
|
11235
|
+
// ----- tailwindcss/no-contradicting-classname -----
|
|
11236
|
+
type TailwindcssNoContradictingClassname = []|[{
|
|
11237
|
+
callees?: string[]
|
|
11238
|
+
ignoredKeys?: string[]
|
|
11239
|
+
config?: (string | {
|
|
11240
|
+
[k: string]: unknown | undefined
|
|
11241
|
+
})
|
|
11242
|
+
tags?: string[]
|
|
11243
|
+
[k: string]: unknown | undefined
|
|
11244
|
+
}]
|
|
11245
|
+
// ----- tailwindcss/no-custom-classname -----
|
|
11246
|
+
type TailwindcssNoCustomClassname = []|[{
|
|
11247
|
+
callees?: string[]
|
|
11248
|
+
ignoredKeys?: string[]
|
|
11249
|
+
config?: (string | {
|
|
11250
|
+
[k: string]: unknown | undefined
|
|
11251
|
+
})
|
|
11252
|
+
cssFiles?: string[]
|
|
11253
|
+
cssFilesRefreshRate?: number
|
|
11254
|
+
tags?: string[]
|
|
11255
|
+
whitelist?: string[]
|
|
11256
|
+
[k: string]: unknown | undefined
|
|
11257
|
+
}]
|
|
11258
|
+
// ----- tailwindcss/no-unnecessary-arbitrary-value -----
|
|
11259
|
+
type TailwindcssNoUnnecessaryArbitraryValue = []|[{
|
|
11260
|
+
callees?: string[]
|
|
11261
|
+
ignoredKeys?: string[]
|
|
11262
|
+
config?: (string | {
|
|
11263
|
+
[k: string]: unknown | undefined
|
|
11264
|
+
})
|
|
11265
|
+
tags?: string[]
|
|
11266
|
+
[k: string]: unknown | undefined
|
|
11267
|
+
}]
|
|
11231
11268
|
// ----- template-curly-spacing -----
|
|
11232
11269
|
type TemplateCurlySpacing = []|[("always" | "never")]
|
|
11233
11270
|
// ----- template-tag-spacing -----
|
|
@@ -11351,26 +11388,6 @@ type TsBanTsComment = []|[{
|
|
|
11351
11388
|
})
|
|
11352
11389
|
minimumDescriptionLength?: number
|
|
11353
11390
|
}]
|
|
11354
|
-
// ----- ts/ban-types -----
|
|
11355
|
-
type TsBanTypes = []|[{
|
|
11356
|
-
types?: {
|
|
11357
|
-
[k: string]: (null | false | true | string | {
|
|
11358
|
-
|
|
11359
|
-
message?: string
|
|
11360
|
-
|
|
11361
|
-
fixWith?: string
|
|
11362
|
-
|
|
11363
|
-
suggest?: string[]
|
|
11364
|
-
}) | undefined
|
|
11365
|
-
}
|
|
11366
|
-
extendDefaults?: boolean
|
|
11367
|
-
}]
|
|
11368
|
-
// ----- ts/block-spacing -----
|
|
11369
|
-
type TsBlockSpacing = []|[("always" | "never")]
|
|
11370
|
-
// ----- ts/brace-style -----
|
|
11371
|
-
type TsBraceStyle = []|[("1tbs" | "stroustrup" | "allman")]|[("1tbs" | "stroustrup" | "allman"), {
|
|
11372
|
-
allowSingleLine?: boolean
|
|
11373
|
-
}]
|
|
11374
11391
|
// ----- ts/class-literal-property-style -----
|
|
11375
11392
|
type TsClassLiteralPropertyStyle = []|[("fields" | "getters")]
|
|
11376
11393
|
// ----- ts/class-methods-use-this -----
|
|
@@ -11384,24 +11401,6 @@ type TsClassMethodsUseThis = []|[{
|
|
|
11384
11401
|
|
|
11385
11402
|
ignoreClassesThatImplementAnInterface?: (boolean | "public-fields")
|
|
11386
11403
|
}]
|
|
11387
|
-
// ----- ts/comma-dangle -----
|
|
11388
|
-
type TsCommaDangle = []|[(_TsCommaDangleValue | {
|
|
11389
|
-
arrays?: _TsCommaDangleValueWithIgnore
|
|
11390
|
-
objects?: _TsCommaDangleValueWithIgnore
|
|
11391
|
-
imports?: _TsCommaDangleValueWithIgnore
|
|
11392
|
-
exports?: _TsCommaDangleValueWithIgnore
|
|
11393
|
-
functions?: _TsCommaDangleValueWithIgnore
|
|
11394
|
-
enums?: _TsCommaDangleValueWithIgnore
|
|
11395
|
-
generics?: _TsCommaDangleValueWithIgnore
|
|
11396
|
-
tuples?: _TsCommaDangleValueWithIgnore
|
|
11397
|
-
})]
|
|
11398
|
-
type _TsCommaDangleValue = ("always-multiline" | "always" | "never" | "only-multiline")
|
|
11399
|
-
type _TsCommaDangleValueWithIgnore = ("always-multiline" | "always" | "never" | "only-multiline" | "ignore")
|
|
11400
|
-
// ----- ts/comma-spacing -----
|
|
11401
|
-
type TsCommaSpacing = []|[{
|
|
11402
|
-
before?: boolean
|
|
11403
|
-
after?: boolean
|
|
11404
|
-
}]
|
|
11405
11404
|
// ----- ts/consistent-generic-constructors -----
|
|
11406
11405
|
type TsConsistentGenericConstructors = []|[("type-annotation" | "constructor")]
|
|
11407
11406
|
// ----- ts/consistent-indexed-object-style -----
|
|
@@ -11481,459 +11480,16 @@ type TsExplicitModuleBoundaryTypes = []|[{
|
|
|
11481
11480
|
|
|
11482
11481
|
allowTypedFunctionExpressions?: boolean
|
|
11483
11482
|
}]
|
|
11484
|
-
// ----- ts/func-call-spacing -----
|
|
11485
|
-
type TsFuncCallSpacing = ([]|["never"] | []|["always"]|["always", {
|
|
11486
|
-
allowNewlines?: boolean
|
|
11487
|
-
}])
|
|
11488
|
-
// ----- ts/indent -----
|
|
11489
|
-
type TsIndent = []|[("tab" | number)]|[("tab" | number), {
|
|
11490
|
-
SwitchCase?: number
|
|
11491
|
-
VariableDeclarator?: ((number | ("first" | "off")) | {
|
|
11492
|
-
var?: (number | ("first" | "off"))
|
|
11493
|
-
let?: (number | ("first" | "off"))
|
|
11494
|
-
const?: (number | ("first" | "off"))
|
|
11495
|
-
})
|
|
11496
|
-
outerIIFEBody?: (number | "off")
|
|
11497
|
-
MemberExpression?: (number | "off")
|
|
11498
|
-
FunctionDeclaration?: {
|
|
11499
|
-
parameters?: (number | ("first" | "off"))
|
|
11500
|
-
body?: number
|
|
11501
|
-
}
|
|
11502
|
-
FunctionExpression?: {
|
|
11503
|
-
parameters?: (number | ("first" | "off"))
|
|
11504
|
-
body?: number
|
|
11505
|
-
}
|
|
11506
|
-
StaticBlock?: {
|
|
11507
|
-
body?: number
|
|
11508
|
-
}
|
|
11509
|
-
CallExpression?: {
|
|
11510
|
-
arguments?: (number | ("first" | "off"))
|
|
11511
|
-
}
|
|
11512
|
-
ArrayExpression?: (number | ("first" | "off"))
|
|
11513
|
-
ObjectExpression?: (number | ("first" | "off"))
|
|
11514
|
-
ImportDeclaration?: (number | ("first" | "off"))
|
|
11515
|
-
flatTernaryExpressions?: boolean
|
|
11516
|
-
offsetTernaryExpressions?: boolean
|
|
11517
|
-
ignoredNodes?: string[]
|
|
11518
|
-
ignoreComments?: boolean
|
|
11519
|
-
}]
|
|
11520
11483
|
// ----- ts/init-declarations -----
|
|
11521
11484
|
type TsInitDeclarations = ([]|["always"] | []|["never"]|["never", {
|
|
11522
11485
|
ignoreForLoopInit?: boolean
|
|
11523
11486
|
}])
|
|
11524
|
-
// ----- ts/key-spacing -----
|
|
11525
|
-
type TsKeySpacing = []|[({
|
|
11526
|
-
align?: (("colon" | "value") | {
|
|
11527
|
-
mode?: ("strict" | "minimum")
|
|
11528
|
-
on?: ("colon" | "value")
|
|
11529
|
-
beforeColon?: boolean
|
|
11530
|
-
afterColon?: boolean
|
|
11531
|
-
})
|
|
11532
|
-
mode?: ("strict" | "minimum")
|
|
11533
|
-
beforeColon?: boolean
|
|
11534
|
-
afterColon?: boolean
|
|
11535
|
-
} | {
|
|
11536
|
-
singleLine?: {
|
|
11537
|
-
mode?: ("strict" | "minimum")
|
|
11538
|
-
beforeColon?: boolean
|
|
11539
|
-
afterColon?: boolean
|
|
11540
|
-
}
|
|
11541
|
-
multiLine?: {
|
|
11542
|
-
align?: (("colon" | "value") | {
|
|
11543
|
-
mode?: ("strict" | "minimum")
|
|
11544
|
-
on?: ("colon" | "value")
|
|
11545
|
-
beforeColon?: boolean
|
|
11546
|
-
afterColon?: boolean
|
|
11547
|
-
})
|
|
11548
|
-
mode?: ("strict" | "minimum")
|
|
11549
|
-
beforeColon?: boolean
|
|
11550
|
-
afterColon?: boolean
|
|
11551
|
-
}
|
|
11552
|
-
} | {
|
|
11553
|
-
singleLine?: {
|
|
11554
|
-
mode?: ("strict" | "minimum")
|
|
11555
|
-
beforeColon?: boolean
|
|
11556
|
-
afterColon?: boolean
|
|
11557
|
-
}
|
|
11558
|
-
multiLine?: {
|
|
11559
|
-
mode?: ("strict" | "minimum")
|
|
11560
|
-
beforeColon?: boolean
|
|
11561
|
-
afterColon?: boolean
|
|
11562
|
-
}
|
|
11563
|
-
align?: {
|
|
11564
|
-
mode?: ("strict" | "minimum")
|
|
11565
|
-
on?: ("colon" | "value")
|
|
11566
|
-
beforeColon?: boolean
|
|
11567
|
-
afterColon?: boolean
|
|
11568
|
-
}
|
|
11569
|
-
})]
|
|
11570
|
-
// ----- ts/keyword-spacing -----
|
|
11571
|
-
type TsKeywordSpacing = []|[{
|
|
11572
|
-
before?: boolean
|
|
11573
|
-
after?: boolean
|
|
11574
|
-
overrides?: {
|
|
11575
|
-
abstract?: {
|
|
11576
|
-
before?: boolean
|
|
11577
|
-
after?: boolean
|
|
11578
|
-
}
|
|
11579
|
-
as?: {
|
|
11580
|
-
before?: boolean
|
|
11581
|
-
after?: boolean
|
|
11582
|
-
}
|
|
11583
|
-
async?: {
|
|
11584
|
-
before?: boolean
|
|
11585
|
-
after?: boolean
|
|
11586
|
-
}
|
|
11587
|
-
await?: {
|
|
11588
|
-
before?: boolean
|
|
11589
|
-
after?: boolean
|
|
11590
|
-
}
|
|
11591
|
-
boolean?: {
|
|
11592
|
-
before?: boolean
|
|
11593
|
-
after?: boolean
|
|
11594
|
-
}
|
|
11595
|
-
break?: {
|
|
11596
|
-
before?: boolean
|
|
11597
|
-
after?: boolean
|
|
11598
|
-
}
|
|
11599
|
-
byte?: {
|
|
11600
|
-
before?: boolean
|
|
11601
|
-
after?: boolean
|
|
11602
|
-
}
|
|
11603
|
-
case?: {
|
|
11604
|
-
before?: boolean
|
|
11605
|
-
after?: boolean
|
|
11606
|
-
}
|
|
11607
|
-
catch?: {
|
|
11608
|
-
before?: boolean
|
|
11609
|
-
after?: boolean
|
|
11610
|
-
}
|
|
11611
|
-
char?: {
|
|
11612
|
-
before?: boolean
|
|
11613
|
-
after?: boolean
|
|
11614
|
-
}
|
|
11615
|
-
class?: {
|
|
11616
|
-
before?: boolean
|
|
11617
|
-
after?: boolean
|
|
11618
|
-
}
|
|
11619
|
-
const?: {
|
|
11620
|
-
before?: boolean
|
|
11621
|
-
after?: boolean
|
|
11622
|
-
}
|
|
11623
|
-
continue?: {
|
|
11624
|
-
before?: boolean
|
|
11625
|
-
after?: boolean
|
|
11626
|
-
}
|
|
11627
|
-
debugger?: {
|
|
11628
|
-
before?: boolean
|
|
11629
|
-
after?: boolean
|
|
11630
|
-
}
|
|
11631
|
-
default?: {
|
|
11632
|
-
before?: boolean
|
|
11633
|
-
after?: boolean
|
|
11634
|
-
}
|
|
11635
|
-
delete?: {
|
|
11636
|
-
before?: boolean
|
|
11637
|
-
after?: boolean
|
|
11638
|
-
}
|
|
11639
|
-
do?: {
|
|
11640
|
-
before?: boolean
|
|
11641
|
-
after?: boolean
|
|
11642
|
-
}
|
|
11643
|
-
double?: {
|
|
11644
|
-
before?: boolean
|
|
11645
|
-
after?: boolean
|
|
11646
|
-
}
|
|
11647
|
-
else?: {
|
|
11648
|
-
before?: boolean
|
|
11649
|
-
after?: boolean
|
|
11650
|
-
}
|
|
11651
|
-
enum?: {
|
|
11652
|
-
before?: boolean
|
|
11653
|
-
after?: boolean
|
|
11654
|
-
}
|
|
11655
|
-
export?: {
|
|
11656
|
-
before?: boolean
|
|
11657
|
-
after?: boolean
|
|
11658
|
-
}
|
|
11659
|
-
extends?: {
|
|
11660
|
-
before?: boolean
|
|
11661
|
-
after?: boolean
|
|
11662
|
-
}
|
|
11663
|
-
false?: {
|
|
11664
|
-
before?: boolean
|
|
11665
|
-
after?: boolean
|
|
11666
|
-
}
|
|
11667
|
-
final?: {
|
|
11668
|
-
before?: boolean
|
|
11669
|
-
after?: boolean
|
|
11670
|
-
}
|
|
11671
|
-
finally?: {
|
|
11672
|
-
before?: boolean
|
|
11673
|
-
after?: boolean
|
|
11674
|
-
}
|
|
11675
|
-
float?: {
|
|
11676
|
-
before?: boolean
|
|
11677
|
-
after?: boolean
|
|
11678
|
-
}
|
|
11679
|
-
for?: {
|
|
11680
|
-
before?: boolean
|
|
11681
|
-
after?: boolean
|
|
11682
|
-
}
|
|
11683
|
-
from?: {
|
|
11684
|
-
before?: boolean
|
|
11685
|
-
after?: boolean
|
|
11686
|
-
}
|
|
11687
|
-
function?: {
|
|
11688
|
-
before?: boolean
|
|
11689
|
-
after?: boolean
|
|
11690
|
-
}
|
|
11691
|
-
get?: {
|
|
11692
|
-
before?: boolean
|
|
11693
|
-
after?: boolean
|
|
11694
|
-
}
|
|
11695
|
-
goto?: {
|
|
11696
|
-
before?: boolean
|
|
11697
|
-
after?: boolean
|
|
11698
|
-
}
|
|
11699
|
-
if?: {
|
|
11700
|
-
before?: boolean
|
|
11701
|
-
after?: boolean
|
|
11702
|
-
}
|
|
11703
|
-
implements?: {
|
|
11704
|
-
before?: boolean
|
|
11705
|
-
after?: boolean
|
|
11706
|
-
}
|
|
11707
|
-
import?: {
|
|
11708
|
-
before?: boolean
|
|
11709
|
-
after?: boolean
|
|
11710
|
-
}
|
|
11711
|
-
in?: {
|
|
11712
|
-
before?: boolean
|
|
11713
|
-
after?: boolean
|
|
11714
|
-
}
|
|
11715
|
-
instanceof?: {
|
|
11716
|
-
before?: boolean
|
|
11717
|
-
after?: boolean
|
|
11718
|
-
}
|
|
11719
|
-
int?: {
|
|
11720
|
-
before?: boolean
|
|
11721
|
-
after?: boolean
|
|
11722
|
-
}
|
|
11723
|
-
interface?: {
|
|
11724
|
-
before?: boolean
|
|
11725
|
-
after?: boolean
|
|
11726
|
-
}
|
|
11727
|
-
let?: {
|
|
11728
|
-
before?: boolean
|
|
11729
|
-
after?: boolean
|
|
11730
|
-
}
|
|
11731
|
-
long?: {
|
|
11732
|
-
before?: boolean
|
|
11733
|
-
after?: boolean
|
|
11734
|
-
}
|
|
11735
|
-
native?: {
|
|
11736
|
-
before?: boolean
|
|
11737
|
-
after?: boolean
|
|
11738
|
-
}
|
|
11739
|
-
new?: {
|
|
11740
|
-
before?: boolean
|
|
11741
|
-
after?: boolean
|
|
11742
|
-
}
|
|
11743
|
-
null?: {
|
|
11744
|
-
before?: boolean
|
|
11745
|
-
after?: boolean
|
|
11746
|
-
}
|
|
11747
|
-
of?: {
|
|
11748
|
-
before?: boolean
|
|
11749
|
-
after?: boolean
|
|
11750
|
-
}
|
|
11751
|
-
package?: {
|
|
11752
|
-
before?: boolean
|
|
11753
|
-
after?: boolean
|
|
11754
|
-
}
|
|
11755
|
-
private?: {
|
|
11756
|
-
before?: boolean
|
|
11757
|
-
after?: boolean
|
|
11758
|
-
}
|
|
11759
|
-
protected?: {
|
|
11760
|
-
before?: boolean
|
|
11761
|
-
after?: boolean
|
|
11762
|
-
}
|
|
11763
|
-
public?: {
|
|
11764
|
-
before?: boolean
|
|
11765
|
-
after?: boolean
|
|
11766
|
-
}
|
|
11767
|
-
return?: {
|
|
11768
|
-
before?: boolean
|
|
11769
|
-
after?: boolean
|
|
11770
|
-
}
|
|
11771
|
-
set?: {
|
|
11772
|
-
before?: boolean
|
|
11773
|
-
after?: boolean
|
|
11774
|
-
}
|
|
11775
|
-
short?: {
|
|
11776
|
-
before?: boolean
|
|
11777
|
-
after?: boolean
|
|
11778
|
-
}
|
|
11779
|
-
static?: {
|
|
11780
|
-
before?: boolean
|
|
11781
|
-
after?: boolean
|
|
11782
|
-
}
|
|
11783
|
-
super?: {
|
|
11784
|
-
before?: boolean
|
|
11785
|
-
after?: boolean
|
|
11786
|
-
}
|
|
11787
|
-
switch?: {
|
|
11788
|
-
before?: boolean
|
|
11789
|
-
after?: boolean
|
|
11790
|
-
}
|
|
11791
|
-
synchronized?: {
|
|
11792
|
-
before?: boolean
|
|
11793
|
-
after?: boolean
|
|
11794
|
-
}
|
|
11795
|
-
this?: {
|
|
11796
|
-
before?: boolean
|
|
11797
|
-
after?: boolean
|
|
11798
|
-
}
|
|
11799
|
-
throw?: {
|
|
11800
|
-
before?: boolean
|
|
11801
|
-
after?: boolean
|
|
11802
|
-
}
|
|
11803
|
-
throws?: {
|
|
11804
|
-
before?: boolean
|
|
11805
|
-
after?: boolean
|
|
11806
|
-
}
|
|
11807
|
-
transient?: {
|
|
11808
|
-
before?: boolean
|
|
11809
|
-
after?: boolean
|
|
11810
|
-
}
|
|
11811
|
-
true?: {
|
|
11812
|
-
before?: boolean
|
|
11813
|
-
after?: boolean
|
|
11814
|
-
}
|
|
11815
|
-
try?: {
|
|
11816
|
-
before?: boolean
|
|
11817
|
-
after?: boolean
|
|
11818
|
-
}
|
|
11819
|
-
typeof?: {
|
|
11820
|
-
before?: boolean
|
|
11821
|
-
after?: boolean
|
|
11822
|
-
}
|
|
11823
|
-
var?: {
|
|
11824
|
-
before?: boolean
|
|
11825
|
-
after?: boolean
|
|
11826
|
-
}
|
|
11827
|
-
void?: {
|
|
11828
|
-
before?: boolean
|
|
11829
|
-
after?: boolean
|
|
11830
|
-
}
|
|
11831
|
-
volatile?: {
|
|
11832
|
-
before?: boolean
|
|
11833
|
-
after?: boolean
|
|
11834
|
-
}
|
|
11835
|
-
while?: {
|
|
11836
|
-
before?: boolean
|
|
11837
|
-
after?: boolean
|
|
11838
|
-
}
|
|
11839
|
-
with?: {
|
|
11840
|
-
before?: boolean
|
|
11841
|
-
after?: boolean
|
|
11842
|
-
}
|
|
11843
|
-
yield?: {
|
|
11844
|
-
before?: boolean
|
|
11845
|
-
after?: boolean
|
|
11846
|
-
}
|
|
11847
|
-
type?: {
|
|
11848
|
-
before?: boolean
|
|
11849
|
-
after?: boolean
|
|
11850
|
-
}
|
|
11851
|
-
}
|
|
11852
|
-
}]
|
|
11853
|
-
// ----- ts/lines-around-comment -----
|
|
11854
|
-
type TsLinesAroundComment = []|[{
|
|
11855
|
-
beforeBlockComment?: boolean
|
|
11856
|
-
afterBlockComment?: boolean
|
|
11857
|
-
beforeLineComment?: boolean
|
|
11858
|
-
afterLineComment?: boolean
|
|
11859
|
-
allowBlockStart?: boolean
|
|
11860
|
-
allowBlockEnd?: boolean
|
|
11861
|
-
allowClassStart?: boolean
|
|
11862
|
-
allowClassEnd?: boolean
|
|
11863
|
-
allowObjectStart?: boolean
|
|
11864
|
-
allowObjectEnd?: boolean
|
|
11865
|
-
allowArrayStart?: boolean
|
|
11866
|
-
allowArrayEnd?: boolean
|
|
11867
|
-
allowInterfaceStart?: boolean
|
|
11868
|
-
allowInterfaceEnd?: boolean
|
|
11869
|
-
allowTypeStart?: boolean
|
|
11870
|
-
allowTypeEnd?: boolean
|
|
11871
|
-
allowEnumStart?: boolean
|
|
11872
|
-
allowEnumEnd?: boolean
|
|
11873
|
-
allowModuleStart?: boolean
|
|
11874
|
-
allowModuleEnd?: boolean
|
|
11875
|
-
ignorePattern?: string
|
|
11876
|
-
applyDefaultIgnorePatterns?: boolean
|
|
11877
|
-
}]
|
|
11878
|
-
// ----- ts/lines-between-class-members -----
|
|
11879
|
-
type TsLinesBetweenClassMembers = []|[({
|
|
11880
|
-
|
|
11881
|
-
enforce: [{
|
|
11882
|
-
blankLine: ("always" | "never")
|
|
11883
|
-
prev: ("method" | "field" | "*")
|
|
11884
|
-
next: ("method" | "field" | "*")
|
|
11885
|
-
}, ...({
|
|
11886
|
-
blankLine: ("always" | "never")
|
|
11887
|
-
prev: ("method" | "field" | "*")
|
|
11888
|
-
next: ("method" | "field" | "*")
|
|
11889
|
-
})[]]
|
|
11890
|
-
} | ("always" | "never"))]|[({
|
|
11891
|
-
|
|
11892
|
-
enforce: [{
|
|
11893
|
-
blankLine: ("always" | "never")
|
|
11894
|
-
prev: ("method" | "field" | "*")
|
|
11895
|
-
next: ("method" | "field" | "*")
|
|
11896
|
-
}, ...({
|
|
11897
|
-
blankLine: ("always" | "never")
|
|
11898
|
-
prev: ("method" | "field" | "*")
|
|
11899
|
-
next: ("method" | "field" | "*")
|
|
11900
|
-
})[]]
|
|
11901
|
-
} | ("always" | "never")), {
|
|
11902
|
-
exceptAfterSingleLine?: boolean
|
|
11903
|
-
exceptAfterOverload?: boolean
|
|
11904
|
-
}]
|
|
11905
11487
|
// ----- ts/max-params -----
|
|
11906
11488
|
type TsMaxParams = []|[{
|
|
11907
11489
|
maximum?: number
|
|
11908
11490
|
max?: number
|
|
11909
11491
|
countVoidThis?: boolean
|
|
11910
11492
|
}]
|
|
11911
|
-
// ----- ts/member-delimiter-style -----
|
|
11912
|
-
type TsMemberDelimiterStyle = []|[{
|
|
11913
|
-
multiline?: {
|
|
11914
|
-
delimiter?: ("none" | "semi" | "comma")
|
|
11915
|
-
requireLast?: boolean
|
|
11916
|
-
}
|
|
11917
|
-
singleline?: {
|
|
11918
|
-
delimiter?: ("semi" | "comma")
|
|
11919
|
-
requireLast?: boolean
|
|
11920
|
-
}
|
|
11921
|
-
overrides?: {
|
|
11922
|
-
interface?: _TsMemberDelimiterStyle_DelimiterConfig
|
|
11923
|
-
typeLiteral?: _TsMemberDelimiterStyle_DelimiterConfig
|
|
11924
|
-
}
|
|
11925
|
-
multilineDetection?: ("brackets" | "last-member")
|
|
11926
|
-
}]
|
|
11927
|
-
interface _TsMemberDelimiterStyle_DelimiterConfig {
|
|
11928
|
-
multiline?: {
|
|
11929
|
-
delimiter?: ("none" | "semi" | "comma")
|
|
11930
|
-
requireLast?: boolean
|
|
11931
|
-
}
|
|
11932
|
-
singleline?: {
|
|
11933
|
-
delimiter?: ("semi" | "comma")
|
|
11934
|
-
requireLast?: boolean
|
|
11935
|
-
}
|
|
11936
|
-
}
|
|
11937
11493
|
// ----- ts/member-ordering -----
|
|
11938
11494
|
type TsMemberOrdering = []|[{
|
|
11939
11495
|
default?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | {
|
|
@@ -12308,7 +11864,7 @@ type TsNoEmptyInterface = []|[{
|
|
|
12308
11864
|
// ----- ts/no-empty-object-type -----
|
|
12309
11865
|
type TsNoEmptyObjectType = []|[{
|
|
12310
11866
|
allowInterfaces?: ("always" | "never" | "with-single-extends")
|
|
12311
|
-
allowObjectTypes?: ("always" | "
|
|
11867
|
+
allowObjectTypes?: ("always" | "never")
|
|
12312
11868
|
allowWithName?: string
|
|
12313
11869
|
}]
|
|
12314
11870
|
// ----- ts/no-explicit-any -----
|
|
@@ -12318,19 +11874,6 @@ type TsNoExplicitAny = []|[{
|
|
|
12318
11874
|
|
|
12319
11875
|
ignoreRestArgs?: boolean
|
|
12320
11876
|
}]
|
|
12321
|
-
// ----- ts/no-extra-parens -----
|
|
12322
|
-
type TsNoExtraParens = ([]|["functions"] | []|["all"]|["all", {
|
|
12323
|
-
conditionalAssign?: boolean
|
|
12324
|
-
ternaryOperandBinaryExpressions?: boolean
|
|
12325
|
-
nestedBinaryExpressions?: boolean
|
|
12326
|
-
returnAssign?: boolean
|
|
12327
|
-
ignoreJSX?: ("none" | "all" | "single-line" | "multi-line")
|
|
12328
|
-
enforceForArrowConditionals?: boolean
|
|
12329
|
-
enforceForSequenceExpressions?: boolean
|
|
12330
|
-
enforceForNewInMemberExpressions?: boolean
|
|
12331
|
-
enforceForFunctionPrototypeMethods?: boolean
|
|
12332
|
-
allowParensAfterCommentPattern?: string
|
|
12333
|
-
}])
|
|
12334
11877
|
// ----- ts/no-extraneous-class -----
|
|
12335
11878
|
type TsNoExtraneousClass = []|[{
|
|
12336
11879
|
|
|
@@ -12344,10 +11887,6 @@ type TsNoExtraneousClass = []|[{
|
|
|
12344
11887
|
}]
|
|
12345
11888
|
// ----- ts/no-floating-promises -----
|
|
12346
11889
|
type TsNoFloatingPromises = []|[{
|
|
12347
|
-
|
|
12348
|
-
ignoreVoid?: boolean
|
|
12349
|
-
|
|
12350
|
-
ignoreIIFE?: boolean
|
|
12351
11890
|
allowForKnownSafePromises?: (string | {
|
|
12352
11891
|
from: "file"
|
|
12353
11892
|
name: (string | [string, ...(string)[]])
|
|
@@ -12360,6 +11899,24 @@ type TsNoFloatingPromises = []|[{
|
|
|
12360
11899
|
name: (string | [string, ...(string)[]])
|
|
12361
11900
|
package: string
|
|
12362
11901
|
})[]
|
|
11902
|
+
allowForKnownSafeCalls?: (string | {
|
|
11903
|
+
from: "file"
|
|
11904
|
+
name: (string | [string, ...(string)[]])
|
|
11905
|
+
path?: string
|
|
11906
|
+
} | {
|
|
11907
|
+
from: "lib"
|
|
11908
|
+
name: (string | [string, ...(string)[]])
|
|
11909
|
+
} | {
|
|
11910
|
+
from: "package"
|
|
11911
|
+
name: (string | [string, ...(string)[]])
|
|
11912
|
+
package: string
|
|
11913
|
+
})[]
|
|
11914
|
+
|
|
11915
|
+
checkThenables?: boolean
|
|
11916
|
+
|
|
11917
|
+
ignoreVoid?: boolean
|
|
11918
|
+
|
|
11919
|
+
ignoreIIFE?: boolean
|
|
12363
11920
|
}]
|
|
12364
11921
|
// ----- ts/no-inferrable-types -----
|
|
12365
11922
|
type TsNoInferrableTypes = []|[{
|
|
@@ -12420,6 +11977,8 @@ type TsNoRedeclare = []|[{
|
|
|
12420
11977
|
type TsNoRequireImports = []|[{
|
|
12421
11978
|
|
|
12422
11979
|
allow?: string[]
|
|
11980
|
+
|
|
11981
|
+
allowAsImport?: boolean
|
|
12423
11982
|
}]
|
|
12424
11983
|
// ----- ts/no-restricted-imports -----
|
|
12425
11984
|
type TsNoRestrictedImports = ((string | {
|
|
@@ -12453,6 +12012,19 @@ type TsNoRestrictedImports = ((string | {
|
|
|
12453
12012
|
allowTypeImports?: boolean
|
|
12454
12013
|
}[])
|
|
12455
12014
|
}])
|
|
12015
|
+
// ----- ts/no-restricted-types -----
|
|
12016
|
+
type TsNoRestrictedTypes = []|[{
|
|
12017
|
+
types?: {
|
|
12018
|
+
[k: string]: (true | string | {
|
|
12019
|
+
|
|
12020
|
+
message?: string
|
|
12021
|
+
|
|
12022
|
+
fixWith?: string
|
|
12023
|
+
|
|
12024
|
+
suggest?: string[]
|
|
12025
|
+
}) | undefined
|
|
12026
|
+
}
|
|
12027
|
+
}]
|
|
12456
12028
|
// ----- ts/no-shadow -----
|
|
12457
12029
|
type TsNoShadow = []|[{
|
|
12458
12030
|
builtinGlobals?: boolean
|
|
@@ -12469,11 +12041,6 @@ type TsNoThisAlias = []|[{
|
|
|
12469
12041
|
|
|
12470
12042
|
allowedNames?: string[]
|
|
12471
12043
|
}]
|
|
12472
|
-
// ----- ts/no-throw-literal -----
|
|
12473
|
-
type TsNoThrowLiteral = []|[{
|
|
12474
|
-
allowThrowingAny?: boolean
|
|
12475
|
-
allowThrowingUnknown?: boolean
|
|
12476
|
-
}]
|
|
12477
12044
|
// ----- ts/no-type-alias -----
|
|
12478
12045
|
type TsNoTypeAlias = []|[{
|
|
12479
12046
|
|
|
@@ -12529,6 +12096,8 @@ type TsNoUnusedVars = []|[(("all" | "local") | {
|
|
|
12529
12096
|
caughtErrors?: ("all" | "none")
|
|
12530
12097
|
caughtErrorsIgnorePattern?: string
|
|
12531
12098
|
destructuredArrayIgnorePattern?: string
|
|
12099
|
+
ignoreClassWithStaticInitBlock?: boolean
|
|
12100
|
+
reportUsedIgnorePattern?: boolean
|
|
12532
12101
|
})]
|
|
12533
12102
|
// ----- ts/no-use-before-define -----
|
|
12534
12103
|
type TsNoUseBeforeDefine = []|[("nofunc" | {
|
|
@@ -12545,24 +12114,11 @@ type TsNoVarRequires = []|[{
|
|
|
12545
12114
|
|
|
12546
12115
|
allow?: string[]
|
|
12547
12116
|
}]
|
|
12548
|
-
// ----- ts/object-curly-spacing -----
|
|
12549
|
-
type TsObjectCurlySpacing = []|[("always" | "never")]|[("always" | "never"), {
|
|
12550
|
-
arraysInObjects?: boolean
|
|
12551
|
-
objectsInObjects?: boolean
|
|
12552
|
-
}]
|
|
12553
12117
|
// ----- ts/only-throw-error -----
|
|
12554
12118
|
type TsOnlyThrowError = []|[{
|
|
12555
12119
|
allowThrowingAny?: boolean
|
|
12556
12120
|
allowThrowingUnknown?: boolean
|
|
12557
12121
|
}]
|
|
12558
|
-
// ----- ts/padding-line-between-statements -----
|
|
12559
|
-
type _TsPaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
|
|
12560
|
-
type _TsPaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "interface" | "type") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "interface" | "type"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "interface" | "type"))[]])
|
|
12561
|
-
type TsPaddingLineBetweenStatements = {
|
|
12562
|
-
blankLine: _TsPaddingLineBetweenStatementsPaddingType
|
|
12563
|
-
prev: _TsPaddingLineBetweenStatementsStatementType
|
|
12564
|
-
next: _TsPaddingLineBetweenStatementsStatementType
|
|
12565
|
-
}[]
|
|
12566
12122
|
// ----- ts/parameter-properties -----
|
|
12567
12123
|
type TsParameterProperties = []|[{
|
|
12568
12124
|
allow?: ("readonly" | "private" | "protected" | "public" | "private readonly" | "protected readonly" | "public readonly")[]
|
|
@@ -12677,11 +12233,6 @@ type TsPromiseFunctionAsync = []|[{
|
|
|
12677
12233
|
checkFunctionExpressions?: boolean
|
|
12678
12234
|
checkMethodDeclarations?: boolean
|
|
12679
12235
|
}]
|
|
12680
|
-
// ----- ts/quotes -----
|
|
12681
|
-
type TsQuotes = []|[("single" | "double" | "backtick")]|[("single" | "double" | "backtick"), ("avoid-escape" | {
|
|
12682
|
-
avoidEscape?: boolean
|
|
12683
|
-
allowTemplateLiterals?: boolean
|
|
12684
|
-
})]
|
|
12685
12236
|
// ----- ts/require-array-sort-compare -----
|
|
12686
12237
|
type TsRequireArraySortCompare = []|[{
|
|
12687
12238
|
|
|
@@ -12721,13 +12272,6 @@ type TsRestrictTemplateExpressions = []|[{
|
|
|
12721
12272
|
}]
|
|
12722
12273
|
// ----- ts/return-await -----
|
|
12723
12274
|
type TsReturnAwait = []|[("in-try-catch" | "always" | "never")]
|
|
12724
|
-
// ----- ts/semi -----
|
|
12725
|
-
type TsSemi = ([]|["never"]|["never", {
|
|
12726
|
-
beforeStatementContinuationChars?: ("always" | "any" | "never")
|
|
12727
|
-
}] | []|["always"]|["always", {
|
|
12728
|
-
omitLastInOneLineBlock?: boolean
|
|
12729
|
-
omitLastInOneLineClassBody?: boolean
|
|
12730
|
-
}])
|
|
12731
12275
|
// ----- ts/sort-type-constituents -----
|
|
12732
12276
|
type TsSortTypeConstituents = []|[{
|
|
12733
12277
|
|
|
@@ -12739,22 +12283,6 @@ type TsSortTypeConstituents = []|[{
|
|
|
12739
12283
|
|
|
12740
12284
|
groupOrder?: ("conditional" | "function" | "import" | "intersection" | "keyword" | "nullish" | "literal" | "named" | "object" | "operator" | "tuple" | "union")[]
|
|
12741
12285
|
}]
|
|
12742
|
-
// ----- ts/space-before-blocks -----
|
|
12743
|
-
type TsSpaceBeforeBlocks = []|[(("always" | "never") | {
|
|
12744
|
-
keywords?: ("always" | "never" | "off")
|
|
12745
|
-
functions?: ("always" | "never" | "off")
|
|
12746
|
-
classes?: ("always" | "never" | "off")
|
|
12747
|
-
})]
|
|
12748
|
-
// ----- ts/space-before-function-paren -----
|
|
12749
|
-
type TsSpaceBeforeFunctionParen = []|[(("always" | "never") | {
|
|
12750
|
-
anonymous?: ("always" | "never" | "ignore")
|
|
12751
|
-
named?: ("always" | "never" | "ignore")
|
|
12752
|
-
asyncArrow?: ("always" | "never" | "ignore")
|
|
12753
|
-
})]
|
|
12754
|
-
// ----- ts/space-infix-ops -----
|
|
12755
|
-
type TsSpaceInfixOps = []|[{
|
|
12756
|
-
int32Hint?: boolean
|
|
12757
|
-
}]
|
|
12758
12286
|
// ----- ts/strict-boolean-expressions -----
|
|
12759
12287
|
type TsStrictBooleanExpressions = []|[{
|
|
12760
12288
|
allowString?: boolean
|
|
@@ -12780,23 +12308,6 @@ type TsTripleSlashReference = []|[{
|
|
|
12780
12308
|
path?: ("always" | "never")
|
|
12781
12309
|
types?: ("always" | "never" | "prefer-import")
|
|
12782
12310
|
}]
|
|
12783
|
-
// ----- ts/type-annotation-spacing -----
|
|
12784
|
-
type TsTypeAnnotationSpacing = []|[{
|
|
12785
|
-
before?: boolean
|
|
12786
|
-
after?: boolean
|
|
12787
|
-
overrides?: {
|
|
12788
|
-
colon?: _TsTypeAnnotationSpacing_SpacingConfig
|
|
12789
|
-
arrow?: _TsTypeAnnotationSpacing_SpacingConfig
|
|
12790
|
-
variable?: _TsTypeAnnotationSpacing_SpacingConfig
|
|
12791
|
-
parameter?: _TsTypeAnnotationSpacing_SpacingConfig
|
|
12792
|
-
property?: _TsTypeAnnotationSpacing_SpacingConfig
|
|
12793
|
-
returnType?: _TsTypeAnnotationSpacing_SpacingConfig
|
|
12794
|
-
}
|
|
12795
|
-
}]
|
|
12796
|
-
interface _TsTypeAnnotationSpacing_SpacingConfig {
|
|
12797
|
-
before?: boolean
|
|
12798
|
-
after?: boolean
|
|
12799
|
-
}
|
|
12800
12311
|
// ----- ts/typedef -----
|
|
12801
12312
|
type TsTypedef = []|[{
|
|
12802
12313
|
arrayDestructuring?: boolean
|
|
@@ -13033,17 +12544,8 @@ type UnusedImportsNoUnusedImports = []|[(("all" | "local") | {
|
|
|
13033
12544
|
caughtErrors?: ("all" | "none")
|
|
13034
12545
|
caughtErrorsIgnorePattern?: string
|
|
13035
12546
|
destructuredArrayIgnorePattern?: string
|
|
13036
|
-
|
|
13037
|
-
|
|
13038
|
-
type UnusedImportsNoUnusedImportsTs = []|[(("all" | "local") | {
|
|
13039
|
-
vars?: ("all" | "local")
|
|
13040
|
-
varsIgnorePattern?: string
|
|
13041
|
-
args?: ("all" | "after-used" | "none")
|
|
13042
|
-
ignoreRestSiblings?: boolean
|
|
13043
|
-
argsIgnorePattern?: string
|
|
13044
|
-
caughtErrors?: ("all" | "none")
|
|
13045
|
-
caughtErrorsIgnorePattern?: string
|
|
13046
|
-
destructuredArrayIgnorePattern?: string
|
|
12547
|
+
ignoreClassWithStaticInitBlock?: boolean
|
|
12548
|
+
reportUsedIgnorePattern?: boolean
|
|
13047
12549
|
})]
|
|
13048
12550
|
// ----- unused-imports/no-unused-vars -----
|
|
13049
12551
|
type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
|
|
@@ -13055,17 +12557,8 @@ type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
|
|
|
13055
12557
|
caughtErrors?: ("all" | "none")
|
|
13056
12558
|
caughtErrorsIgnorePattern?: string
|
|
13057
12559
|
destructuredArrayIgnorePattern?: string
|
|
13058
|
-
|
|
13059
|
-
|
|
13060
|
-
type UnusedImportsNoUnusedVarsTs = []|[(("all" | "local") | {
|
|
13061
|
-
vars?: ("all" | "local")
|
|
13062
|
-
varsIgnorePattern?: string
|
|
13063
|
-
args?: ("all" | "after-used" | "none")
|
|
13064
|
-
ignoreRestSiblings?: boolean
|
|
13065
|
-
argsIgnorePattern?: string
|
|
13066
|
-
caughtErrors?: ("all" | "none")
|
|
13067
|
-
caughtErrorsIgnorePattern?: string
|
|
13068
|
-
destructuredArrayIgnorePattern?: string
|
|
12560
|
+
ignoreClassWithStaticInitBlock?: boolean
|
|
12561
|
+
reportUsedIgnorePattern?: boolean
|
|
13069
12562
|
})]
|
|
13070
12563
|
// ----- use-isnan -----
|
|
13071
12564
|
type UseIsnan = []|[{
|
|
@@ -14261,7 +13754,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
14261
13754
|
onlyEquality?: boolean
|
|
14262
13755
|
}]
|
|
14263
13756
|
// Names of all the configs
|
|
14264
|
-
type ConfigNames = 'coderwyd/eslint-comments/rules' | 'coderwyd/formatter/setup' | 'coderwyd/imports/rules' | 'coderwyd/imports/disables/bin' | 'coderwyd/javascript/setup' | 'coderwyd/javascript/rules' | 'coderwyd/javascript/disables/cli' | 'coderwyd/javascript/disables/test' | 'coderwyd/jsdoc/rules' | 'coderwyd/jsonc/setup' | 'coderwyd/jsonc/rules' | 'coderwyd/jsx/setup' | 'coderwyd/node/rules' | 'coderwyd/perfectionist/setup' | '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/typescript/disables/dts' | 'coderwyd/typescript/disables/test' | 'coderwyd/typescript/disables/cjs' | 'coderwyd/unicorn/rules' | 'coderwyd/unocss/rules' | 'coderwyd/vue/setup' | 'coderwyd/vue/rules' | 'coderwyd/command/rules' | 'coderwyd/regexp/rules'
|
|
13757
|
+
type ConfigNames = 'coderwyd/eslint-comments/rules' | 'coderwyd/formatter/setup' | 'coderwyd/imports/rules' | 'coderwyd/imports/disables/bin' | 'coderwyd/javascript/setup' | 'coderwyd/javascript/rules' | 'coderwyd/javascript/disables/cli' | 'coderwyd/javascript/disables/test' | 'coderwyd/jsdoc/rules' | 'coderwyd/jsonc/setup' | 'coderwyd/jsonc/rules' | 'coderwyd/jsx/setup' | 'coderwyd/node/rules' | 'coderwyd/perfectionist/setup' | '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/typescript/disables/dts' | 'coderwyd/typescript/disables/test' | 'coderwyd/typescript/disables/cjs' | 'coderwyd/unicorn/rules' | 'coderwyd/unocss/rules' | 'coderwyd/vue/setup' | 'coderwyd/vue/rules' | 'coderwyd/command/rules' | 'coderwyd/regexp/rules' | 'coderwyd/tailwindcss/rules'
|
|
14265
13758
|
|
|
14266
13759
|
type Rules = RuleOptions;
|
|
14267
13760
|
|
|
@@ -14995,6 +14488,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
14995
14488
|
'jsdoc/check-tag-names'?: eslint.Linter.RuleEntry<undefined>;
|
|
14996
14489
|
'jsdoc/check-types'?: eslint.Linter.RuleEntry<undefined>;
|
|
14997
14490
|
'jsdoc/check-values'?: eslint.Linter.RuleEntry<undefined>;
|
|
14491
|
+
'jsdoc/convert-to-jsdoc-comments'?: eslint.Linter.RuleEntry<undefined>;
|
|
14998
14492
|
'jsdoc/empty-tags'?: eslint.Linter.RuleEntry<undefined>;
|
|
14999
14493
|
'jsdoc/implements-on-classes'?: eslint.Linter.RuleEntry<undefined>;
|
|
15000
14494
|
'jsdoc/imports-as-dependencies'?: eslint.Linter.RuleEntry<[]>;
|
|
@@ -15030,6 +14524,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
15030
14524
|
'jsdoc/require-returns-check'?: eslint.Linter.RuleEntry<undefined>;
|
|
15031
14525
|
'jsdoc/require-returns-description'?: eslint.Linter.RuleEntry<undefined>;
|
|
15032
14526
|
'jsdoc/require-returns-type'?: eslint.Linter.RuleEntry<undefined>;
|
|
14527
|
+
'jsdoc/require-template'?: eslint.Linter.RuleEntry<undefined>;
|
|
15033
14528
|
'jsdoc/require-throws'?: eslint.Linter.RuleEntry<undefined>;
|
|
15034
14529
|
'jsdoc/require-yields'?: eslint.Linter.RuleEntry<undefined>;
|
|
15035
14530
|
'jsdoc/require-yields-check'?: eslint.Linter.RuleEntry<undefined>;
|
|
@@ -15408,6 +14903,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
15408
14903
|
'react/no-unused-state'?: eslint.Linter.RuleEntry<[]>;
|
|
15409
14904
|
'react/no-useless-fragment'?: eslint.Linter.RuleEntry<[]>;
|
|
15410
14905
|
'react/prefer-destructuring-assignment'?: eslint.Linter.RuleEntry<[]>;
|
|
14906
|
+
'react/prefer-read-only-props'?: eslint.Linter.RuleEntry<[]>;
|
|
15411
14907
|
'react/prefer-shorthand-boolean'?: eslint.Linter.RuleEntry<[]>;
|
|
15412
14908
|
'react/prefer-shorthand-fragment'?: eslint.Linter.RuleEntry<[]>;
|
|
15413
14909
|
'regexp/confusing-quantifier'?: eslint.Linter.RuleEntry<[]>;
|
|
@@ -15607,6 +15103,14 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
15607
15103
|
'style/yield-star-spacing'?: eslint.Linter.RuleEntry<undefined>;
|
|
15608
15104
|
'switch-colon-spacing'?: eslint.Linter.RuleEntry<undefined>;
|
|
15609
15105
|
'symbol-description'?: eslint.Linter.RuleEntry<[]>;
|
|
15106
|
+
'tailwindcss/classnames-order'?: eslint.Linter.RuleEntry<undefined>;
|
|
15107
|
+
'tailwindcss/enforces-negative-arbitrary-values'?: eslint.Linter.RuleEntry<undefined>;
|
|
15108
|
+
'tailwindcss/enforces-shorthand'?: eslint.Linter.RuleEntry<undefined>;
|
|
15109
|
+
'tailwindcss/migration-from-tailwind-2'?: eslint.Linter.RuleEntry<undefined>;
|
|
15110
|
+
'tailwindcss/no-arbitrary-value'?: eslint.Linter.RuleEntry<undefined>;
|
|
15111
|
+
'tailwindcss/no-contradicting-classname'?: eslint.Linter.RuleEntry<undefined>;
|
|
15112
|
+
'tailwindcss/no-custom-classname'?: eslint.Linter.RuleEntry<undefined>;
|
|
15113
|
+
'tailwindcss/no-unnecessary-arbitrary-value'?: eslint.Linter.RuleEntry<undefined>;
|
|
15610
15114
|
'template-curly-spacing'?: eslint.Linter.RuleEntry<undefined>;
|
|
15611
15115
|
'template-tag-spacing'?: eslint.Linter.RuleEntry<undefined>;
|
|
15612
15116
|
'test/consistent-test-filename'?: eslint.Linter.RuleEntry<undefined>;
|
|
@@ -15667,13 +15171,8 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
15667
15171
|
'ts/await-thenable'?: eslint.Linter.RuleEntry<[]>;
|
|
15668
15172
|
'ts/ban-ts-comment'?: eslint.Linter.RuleEntry<undefined>;
|
|
15669
15173
|
'ts/ban-tslint-comment'?: eslint.Linter.RuleEntry<[]>;
|
|
15670
|
-
'ts/ban-types'?: eslint.Linter.RuleEntry<undefined>;
|
|
15671
|
-
'ts/block-spacing'?: eslint.Linter.RuleEntry<undefined>;
|
|
15672
|
-
'ts/brace-style'?: eslint.Linter.RuleEntry<undefined>;
|
|
15673
15174
|
'ts/class-literal-property-style'?: eslint.Linter.RuleEntry<undefined>;
|
|
15674
15175
|
'ts/class-methods-use-this'?: eslint.Linter.RuleEntry<undefined>;
|
|
15675
|
-
'ts/comma-dangle'?: eslint.Linter.RuleEntry<undefined>;
|
|
15676
|
-
'ts/comma-spacing'?: eslint.Linter.RuleEntry<undefined>;
|
|
15677
15176
|
'ts/consistent-generic-constructors'?: eslint.Linter.RuleEntry<undefined>;
|
|
15678
15177
|
'ts/consistent-indexed-object-style'?: eslint.Linter.RuleEntry<undefined>;
|
|
15679
15178
|
'ts/consistent-return'?: eslint.Linter.RuleEntry<undefined>;
|
|
@@ -15686,15 +15185,8 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
15686
15185
|
'ts/explicit-function-return-type'?: eslint.Linter.RuleEntry<undefined>;
|
|
15687
15186
|
'ts/explicit-member-accessibility'?: eslint.Linter.RuleEntry<undefined>;
|
|
15688
15187
|
'ts/explicit-module-boundary-types'?: eslint.Linter.RuleEntry<undefined>;
|
|
15689
|
-
'ts/func-call-spacing'?: eslint.Linter.RuleEntry<undefined>;
|
|
15690
|
-
'ts/indent'?: eslint.Linter.RuleEntry<undefined>;
|
|
15691
15188
|
'ts/init-declarations'?: eslint.Linter.RuleEntry<undefined>;
|
|
15692
|
-
'ts/key-spacing'?: eslint.Linter.RuleEntry<undefined>;
|
|
15693
|
-
'ts/keyword-spacing'?: eslint.Linter.RuleEntry<undefined>;
|
|
15694
|
-
'ts/lines-around-comment'?: eslint.Linter.RuleEntry<undefined>;
|
|
15695
|
-
'ts/lines-between-class-members'?: eslint.Linter.RuleEntry<undefined>;
|
|
15696
15189
|
'ts/max-params'?: eslint.Linter.RuleEntry<undefined>;
|
|
15697
|
-
'ts/member-delimiter-style'?: eslint.Linter.RuleEntry<undefined>;
|
|
15698
15190
|
'ts/member-ordering'?: eslint.Linter.RuleEntry<undefined>;
|
|
15699
15191
|
'ts/method-signature-style'?: eslint.Linter.RuleEntry<undefined>;
|
|
15700
15192
|
'ts/naming-convention'?: eslint.Linter.RuleEntry<undefined>;
|
|
@@ -15712,8 +15204,6 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
15712
15204
|
'ts/no-empty-object-type'?: eslint.Linter.RuleEntry<undefined>;
|
|
15713
15205
|
'ts/no-explicit-any'?: eslint.Linter.RuleEntry<undefined>;
|
|
15714
15206
|
'ts/no-extra-non-null-assertion'?: eslint.Linter.RuleEntry<[]>;
|
|
15715
|
-
'ts/no-extra-parens'?: eslint.Linter.RuleEntry<undefined>;
|
|
15716
|
-
'ts/no-extra-semi'?: eslint.Linter.RuleEntry<[]>;
|
|
15717
15207
|
'ts/no-extraneous-class'?: eslint.Linter.RuleEntry<undefined>;
|
|
15718
15208
|
'ts/no-floating-promises'?: eslint.Linter.RuleEntry<undefined>;
|
|
15719
15209
|
'ts/no-for-in-array'?: eslint.Linter.RuleEntry<[]>;
|
|
@@ -15737,22 +15227,25 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
15737
15227
|
'ts/no-redundant-type-constituents'?: eslint.Linter.RuleEntry<[]>;
|
|
15738
15228
|
'ts/no-require-imports'?: eslint.Linter.RuleEntry<undefined>;
|
|
15739
15229
|
'ts/no-restricted-imports'?: eslint.Linter.RuleEntry<undefined>;
|
|
15230
|
+
'ts/no-restricted-types'?: eslint.Linter.RuleEntry<undefined>;
|
|
15740
15231
|
'ts/no-shadow'?: eslint.Linter.RuleEntry<undefined>;
|
|
15741
15232
|
'ts/no-this-alias'?: eslint.Linter.RuleEntry<undefined>;
|
|
15742
|
-
'ts/no-throw-literal'?: eslint.Linter.RuleEntry<undefined>;
|
|
15743
15233
|
'ts/no-type-alias'?: eslint.Linter.RuleEntry<undefined>;
|
|
15744
15234
|
'ts/no-unnecessary-boolean-literal-compare'?: eslint.Linter.RuleEntry<undefined>;
|
|
15745
15235
|
'ts/no-unnecessary-condition'?: eslint.Linter.RuleEntry<undefined>;
|
|
15236
|
+
'ts/no-unnecessary-parameter-property-assignment'?: eslint.Linter.RuleEntry<[]>;
|
|
15746
15237
|
'ts/no-unnecessary-qualifier'?: eslint.Linter.RuleEntry<[]>;
|
|
15747
15238
|
'ts/no-unnecessary-template-expression'?: eslint.Linter.RuleEntry<[]>;
|
|
15748
15239
|
'ts/no-unnecessary-type-arguments'?: eslint.Linter.RuleEntry<[]>;
|
|
15749
15240
|
'ts/no-unnecessary-type-assertion'?: eslint.Linter.RuleEntry<undefined>;
|
|
15750
15241
|
'ts/no-unnecessary-type-constraint'?: eslint.Linter.RuleEntry<[]>;
|
|
15242
|
+
'ts/no-unnecessary-type-parameters'?: eslint.Linter.RuleEntry<[]>;
|
|
15751
15243
|
'ts/no-unsafe-argument'?: eslint.Linter.RuleEntry<[]>;
|
|
15752
15244
|
'ts/no-unsafe-assignment'?: eslint.Linter.RuleEntry<[]>;
|
|
15753
15245
|
'ts/no-unsafe-call'?: eslint.Linter.RuleEntry<[]>;
|
|
15754
15246
|
'ts/no-unsafe-declaration-merging'?: eslint.Linter.RuleEntry<[]>;
|
|
15755
15247
|
'ts/no-unsafe-enum-comparison'?: eslint.Linter.RuleEntry<[]>;
|
|
15248
|
+
'ts/no-unsafe-function-type'?: eslint.Linter.RuleEntry<[]>;
|
|
15756
15249
|
'ts/no-unsafe-member-access'?: eslint.Linter.RuleEntry<[]>;
|
|
15757
15250
|
'ts/no-unsafe-return'?: eslint.Linter.RuleEntry<[]>;
|
|
15758
15251
|
'ts/no-unsafe-unary-minus'?: eslint.Linter.RuleEntry<[]>;
|
|
@@ -15761,12 +15254,10 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
15761
15254
|
'ts/no-use-before-define'?: eslint.Linter.RuleEntry<undefined>;
|
|
15762
15255
|
'ts/no-useless-constructor'?: eslint.Linter.RuleEntry<[]>;
|
|
15763
15256
|
'ts/no-useless-empty-export'?: eslint.Linter.RuleEntry<[]>;
|
|
15764
|
-
'ts/no-useless-template-literals'?: eslint.Linter.RuleEntry<[]>;
|
|
15765
15257
|
'ts/no-var-requires'?: eslint.Linter.RuleEntry<undefined>;
|
|
15258
|
+
'ts/no-wrapper-object-types'?: eslint.Linter.RuleEntry<[]>;
|
|
15766
15259
|
'ts/non-nullable-type-assertion-style'?: eslint.Linter.RuleEntry<[]>;
|
|
15767
|
-
'ts/object-curly-spacing'?: eslint.Linter.RuleEntry<undefined>;
|
|
15768
15260
|
'ts/only-throw-error'?: eslint.Linter.RuleEntry<undefined>;
|
|
15769
|
-
'ts/padding-line-between-statements'?: eslint.Linter.RuleEntry<undefined>;
|
|
15770
15261
|
'ts/parameter-properties'?: eslint.Linter.RuleEntry<undefined>;
|
|
15771
15262
|
'ts/prefer-as-const'?: eslint.Linter.RuleEntry<[]>;
|
|
15772
15263
|
'ts/prefer-destructuring'?: eslint.Linter.RuleEntry<undefined>;
|
|
@@ -15788,21 +15279,15 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
15788
15279
|
'ts/prefer-string-starts-ends-with'?: eslint.Linter.RuleEntry<undefined>;
|
|
15789
15280
|
'ts/prefer-ts-expect-error'?: eslint.Linter.RuleEntry<[]>;
|
|
15790
15281
|
'ts/promise-function-async'?: eslint.Linter.RuleEntry<undefined>;
|
|
15791
|
-
'ts/quotes'?: eslint.Linter.RuleEntry<undefined>;
|
|
15792
15282
|
'ts/require-array-sort-compare'?: eslint.Linter.RuleEntry<undefined>;
|
|
15793
15283
|
'ts/require-await'?: eslint.Linter.RuleEntry<[]>;
|
|
15794
15284
|
'ts/restrict-plus-operands'?: eslint.Linter.RuleEntry<undefined>;
|
|
15795
15285
|
'ts/restrict-template-expressions'?: eslint.Linter.RuleEntry<undefined>;
|
|
15796
15286
|
'ts/return-await'?: eslint.Linter.RuleEntry<undefined>;
|
|
15797
|
-
'ts/semi'?: eslint.Linter.RuleEntry<undefined>;
|
|
15798
15287
|
'ts/sort-type-constituents'?: eslint.Linter.RuleEntry<undefined>;
|
|
15799
|
-
'ts/space-before-blocks'?: eslint.Linter.RuleEntry<undefined>;
|
|
15800
|
-
'ts/space-before-function-paren'?: eslint.Linter.RuleEntry<undefined>;
|
|
15801
|
-
'ts/space-infix-ops'?: eslint.Linter.RuleEntry<undefined>;
|
|
15802
15288
|
'ts/strict-boolean-expressions'?: eslint.Linter.RuleEntry<undefined>;
|
|
15803
15289
|
'ts/switch-exhaustiveness-check'?: eslint.Linter.RuleEntry<undefined>;
|
|
15804
15290
|
'ts/triple-slash-reference'?: eslint.Linter.RuleEntry<undefined>;
|
|
15805
|
-
'ts/type-annotation-spacing'?: eslint.Linter.RuleEntry<undefined>;
|
|
15806
15291
|
'ts/typedef'?: eslint.Linter.RuleEntry<undefined>;
|
|
15807
15292
|
'ts/unbound-method'?: eslint.Linter.RuleEntry<undefined>;
|
|
15808
15293
|
'ts/unified-signatures'?: eslint.Linter.RuleEntry<undefined>;
|
|
@@ -15949,9 +15434,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
|
|
|
15949
15434
|
'unocss/order'?: eslint.Linter.RuleEntry<[]>;
|
|
15950
15435
|
'unocss/order-attributify'?: eslint.Linter.RuleEntry<[]>;
|
|
15951
15436
|
'unused-imports/no-unused-imports'?: eslint.Linter.RuleEntry<undefined>;
|
|
15952
|
-
'unused-imports/no-unused-imports-ts'?: eslint.Linter.RuleEntry<undefined>;
|
|
15953
15437
|
'unused-imports/no-unused-vars'?: eslint.Linter.RuleEntry<undefined>;
|
|
15954
|
-
'unused-imports/no-unused-vars-ts'?: eslint.Linter.RuleEntry<undefined>;
|
|
15955
15438
|
'use-isnan'?: eslint.Linter.RuleEntry<undefined>;
|
|
15956
15439
|
'valid-typeof'?: eslint.Linter.RuleEntry<undefined>;
|
|
15957
15440
|
'vars-on-top'?: eslint.Linter.RuleEntry<[]>;
|