eslint-config-typed 3.13.3 → 3.13.4

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.
Files changed (96) hide show
  1. package/dist/rules/typescript-eslint-rules.d.mts +1 -0
  2. package/dist/rules/typescript-eslint-rules.d.mts.map +1 -1
  3. package/dist/rules/typescript-eslint-rules.mjs +1 -0
  4. package/dist/rules/typescript-eslint-rules.mjs.map +1 -1
  5. package/dist/types/rules/eslint-array-func-rules.d.mts +8 -8
  6. package/dist/types/rules/eslint-array-func-rules.d.mts.map +1 -1
  7. package/dist/types/rules/eslint-cypress-rules.d.mts +27 -23
  8. package/dist/types/rules/eslint-cypress-rules.d.mts.map +1 -1
  9. package/dist/types/rules/eslint-functional-rules.d.mts +426 -425
  10. package/dist/types/rules/eslint-functional-rules.d.mts.map +1 -1
  11. package/dist/types/rules/eslint-import-rules.d.mts +343 -325
  12. package/dist/types/rules/eslint-import-rules.d.mts.map +1 -1
  13. package/dist/types/rules/eslint-jest-rules.d.mts +183 -171
  14. package/dist/types/rules/eslint-jest-rules.d.mts.map +1 -1
  15. package/dist/types/rules/eslint-jsx-a11y-rules.d.mts +211 -209
  16. package/dist/types/rules/eslint-jsx-a11y-rules.d.mts.map +1 -1
  17. package/dist/types/rules/eslint-math-rules.d.mts +49 -48
  18. package/dist/types/rules/eslint-math-rules.d.mts.map +1 -1
  19. package/dist/types/rules/eslint-n-rules.d.mts +296 -293
  20. package/dist/types/rules/eslint-n-rules.d.mts.map +1 -1
  21. package/dist/types/rules/eslint-playwright-rules.d.mts +161 -149
  22. package/dist/types/rules/eslint-playwright-rules.d.mts.map +1 -1
  23. package/dist/types/rules/eslint-plugin-rules.d.mts +95 -85
  24. package/dist/types/rules/eslint-plugin-rules.d.mts.map +1 -1
  25. package/dist/types/rules/eslint-plugin-sort-destructure-keys-rules.d.mts +10 -10
  26. package/dist/types/rules/eslint-plugin-sort-destructure-keys-rules.d.mts.map +1 -1
  27. package/dist/types/rules/eslint-prefer-arrow-functions-rules.d.mts +23 -16
  28. package/dist/types/rules/eslint-prefer-arrow-functions-rules.d.mts.map +1 -1
  29. package/dist/types/rules/eslint-promise-rules.d.mts +68 -68
  30. package/dist/types/rules/eslint-promise-rules.d.mts.map +1 -1
  31. package/dist/types/rules/eslint-react-coding-style-rules.d.mts +29 -29
  32. package/dist/types/rules/eslint-react-coding-style-rules.d.mts.map +1 -1
  33. package/dist/types/rules/eslint-react-hooks-rules.d.mts +100 -100
  34. package/dist/types/rules/eslint-react-hooks-rules.d.mts.map +1 -1
  35. package/dist/types/rules/eslint-react-perf-rules.d.mts +28 -28
  36. package/dist/types/rules/eslint-react-perf-rules.d.mts.map +1 -1
  37. package/dist/types/rules/eslint-react-refresh-rules.d.mts +13 -13
  38. package/dist/types/rules/eslint-react-refresh-rules.d.mts.map +1 -1
  39. package/dist/types/rules/eslint-react-rules.d.mts +646 -620
  40. package/dist/types/rules/eslint-react-rules.d.mts.map +1 -1
  41. package/dist/types/rules/eslint-rules.d.mts +1022 -1016
  42. package/dist/types/rules/eslint-rules.d.mts.map +1 -1
  43. package/dist/types/rules/eslint-security-rules.d.mts +16 -16
  44. package/dist/types/rules/eslint-security-rules.d.mts.map +1 -1
  45. package/dist/types/rules/eslint-strict-dependencies-rules.d.mts +18 -18
  46. package/dist/types/rules/eslint-strict-dependencies-rules.d.mts.map +1 -1
  47. package/dist/types/rules/eslint-stylistic-rules.d.mts +1440 -1400
  48. package/dist/types/rules/eslint-stylistic-rules.d.mts.map +1 -1
  49. package/dist/types/rules/eslint-testing-library-rules.d.mts +110 -105
  50. package/dist/types/rules/eslint-testing-library-rules.d.mts.map +1 -1
  51. package/dist/types/rules/eslint-total-functions-rules.d.mts +16 -16
  52. package/dist/types/rules/eslint-total-functions-rules.d.mts.map +1 -1
  53. package/dist/types/rules/eslint-tree-shakable-rules.d.mts +3 -3
  54. package/dist/types/rules/eslint-tree-shakable-rules.d.mts.map +1 -1
  55. package/dist/types/rules/eslint-ts-restrictions-rules.d.mts +30 -30
  56. package/dist/types/rules/eslint-ts-restrictions-rules.d.mts.map +1 -1
  57. package/dist/types/rules/eslint-unicorn-rules.d.mts +398 -392
  58. package/dist/types/rules/eslint-unicorn-rules.d.mts.map +1 -1
  59. package/dist/types/rules/eslint-vitest-coding-style-rules.d.mts +3 -3
  60. package/dist/types/rules/eslint-vitest-coding-style-rules.d.mts.map +1 -1
  61. package/dist/types/rules/eslint-vitest-rules.d.mts +204 -190
  62. package/dist/types/rules/eslint-vitest-rules.d.mts.map +1 -1
  63. package/dist/types/rules/typescript-eslint-rules.d.mts +1107 -1077
  64. package/dist/types/rules/typescript-eslint-rules.d.mts.map +1 -1
  65. package/package.json +23 -23
  66. package/src/rules/typescript-eslint-rules.mts +2 -0
  67. package/src/types/rules/eslint-array-func-rules.mts +8 -8
  68. package/src/types/rules/eslint-cypress-rules.mts +28 -24
  69. package/src/types/rules/eslint-functional-rules.mts +581 -576
  70. package/src/types/rules/eslint-import-rules.mts +403 -384
  71. package/src/types/rules/eslint-jest-rules.mts +212 -196
  72. package/src/types/rules/eslint-jsx-a11y-rules.mts +252 -250
  73. package/src/types/rules/eslint-math-rules.mts +53 -52
  74. package/src/types/rules/eslint-n-rules.mts +1762 -1757
  75. package/src/types/rules/eslint-playwright-rules.mts +187 -171
  76. package/src/types/rules/eslint-plugin-rules.mts +109 -99
  77. package/src/types/rules/eslint-plugin-sort-destructure-keys-rules.mts +11 -11
  78. package/src/types/rules/eslint-prefer-arrow-functions-rules.mts +24 -17
  79. package/src/types/rules/eslint-promise-rules.mts +76 -76
  80. package/src/types/rules/eslint-react-coding-style-rules.mts +32 -32
  81. package/src/types/rules/eslint-react-hooks-rules.mts +129 -129
  82. package/src/types/rules/eslint-react-perf-rules.mts +32 -32
  83. package/src/types/rules/eslint-react-refresh-rules.mts +14 -14
  84. package/src/types/rules/eslint-react-rules.mts +787 -792
  85. package/src/types/rules/eslint-rules.mts +1180 -1173
  86. package/src/types/rules/eslint-security-rules.mts +16 -16
  87. package/src/types/rules/eslint-strict-dependencies-rules.mts +19 -19
  88. package/src/types/rules/eslint-stylistic-rules.mts +1767 -1807
  89. package/src/types/rules/eslint-testing-library-rules.mts +128 -124
  90. package/src/types/rules/eslint-total-functions-rules.mts +16 -16
  91. package/src/types/rules/eslint-tree-shakable-rules.mts +3 -3
  92. package/src/types/rules/eslint-ts-restrictions-rules.mts +34 -33
  93. package/src/types/rules/eslint-unicorn-rules.mts +447 -436
  94. package/src/types/rules/eslint-vitest-coding-style-rules.mts +3 -3
  95. package/src/types/rules/eslint-vitest-rules.mts +232 -219
  96. package/src/types/rules/typescript-eslint-rules.mts +1511 -1489
@@ -36,7 +36,7 @@ declare namespace ConsistentOutput {
36
36
  * when some cases have them.
37
37
  */
38
38
  type Options = 'always' | 'consistent';
39
- type RuleEntry = Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]> | 'off';
39
+ type RuleEntry = 'off' | Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
40
40
  }
41
41
  /**
42
42
  * Require fixer functions to return a fix
@@ -86,7 +86,7 @@ declare namespace MetaPropertyOrdering {
86
86
  */
87
87
  /** What order to enforce for meta properties. */
88
88
  type Options = readonly unknown[];
89
- type RuleEntry = Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]> | 'off';
89
+ type RuleEntry = 'off' | Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
90
90
  }
91
91
  /**
92
92
  * Disallow usage of deprecated methods on rule context objects
@@ -256,14 +256,14 @@ declare namespace NoPropertyInNode {
256
256
  * ]
257
257
  * ```
258
258
  */
259
- type Options = {
259
+ type Options = Readonly<{
260
260
  /**
261
261
  * Any additional regular expressions to consider source files defining AST
262
262
  * Node types.
263
263
  */
264
- readonly additionalNodeTypeFiles?: readonly unknown[];
265
- };
266
- type RuleEntry = Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]> | 'off';
264
+ additionalNodeTypeFiles?: readonly unknown[];
265
+ }>;
266
+ type RuleEntry = 'off' | Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
267
267
  }
268
268
  /**
269
269
  * Disallow unused `messageId`s in `meta.messages`
@@ -426,7 +426,7 @@ declare namespace ReportMessageFormat {
426
426
  */
427
427
  /** Format that all report messages must match. */
428
428
  type Options = string;
429
- type RuleEntry = Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]> | 'off';
429
+ type RuleEntry = 'off' | Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
430
430
  }
431
431
  /**
432
432
  * Require only rules with options to implement a `meta.defaultOptions` property
@@ -479,14 +479,16 @@ declare namespace RequireMetaDocsDescription {
479
479
  * ]
480
480
  * ```
481
481
  */
482
- type Options = {
482
+ type Options = Readonly<{
483
483
  /**
484
484
  * A regular expression that the description must match. Use `'.+'` to allow
485
485
  * anything.
486
+ *
487
+ * @default '^(enforce|require|disallow)'
486
488
  */
487
- readonly pattern?: string;
488
- };
489
- type RuleEntry = Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]> | 'off';
489
+ pattern?: string;
490
+ }>;
491
+ type RuleEntry = 'off' | Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
490
492
  }
491
493
  /**
492
494
  * Require rules to implement a `meta.docs.recommended` property
@@ -522,11 +524,15 @@ declare namespace RequireMetaDocsRecommended {
522
524
  * ]
523
525
  * ```
524
526
  */
525
- type Options = {
526
- /** Whether to allow values of types other than boolean. */
527
- readonly allowNonBoolean?: boolean;
528
- };
529
- type RuleEntry = Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]> | 'off';
527
+ type Options = Readonly<{
528
+ /**
529
+ * Whether to allow values of types other than boolean.
530
+ *
531
+ * @default false
532
+ */
533
+ allowNonBoolean?: boolean;
534
+ }>;
535
+ type RuleEntry = 'off' | Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
530
536
  }
531
537
  /**
532
538
  * Require rules to implement a `meta.docs.url` property
@@ -561,15 +567,15 @@ declare namespace RequireMetaDocsUrl {
561
567
  * ]
562
568
  * ```
563
569
  */
564
- type Options = {
570
+ type Options = Readonly<{
565
571
  /**
566
572
  * A pattern to enforce rule's document URL. It replaces `{{name}}`
567
573
  * placeholder by each rule name. The rule name is the basename of each rule
568
574
  * file. Omitting this allows any URL.
569
575
  */
570
- readonly pattern?: string;
571
- };
572
- type RuleEntry = Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]> | 'off';
576
+ pattern?: string;
577
+ }>;
578
+ type RuleEntry = 'off' | Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
573
579
  }
574
580
  /**
575
581
  * Require rules to implement a `meta.fixable` property
@@ -604,16 +610,18 @@ declare namespace RequireMetaFixable {
604
610
  * ]
605
611
  * ```
606
612
  */
607
- type Options = {
613
+ type Options = Readonly<{
608
614
  /**
609
615
  * Whether the rule should attempt to detect rules that do not have a fixer
610
616
  * but enable the `meta.fixable` property. This option is off by default
611
617
  * because it increases the chance of false positives since fixers can't
612
618
  * always be detected when helper functions are used.
619
+ *
620
+ * @default false
613
621
  */
614
- readonly catchNoFixerButFixableProperty?: boolean;
615
- };
616
- type RuleEntry = Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]> | 'off';
622
+ catchNoFixerButFixableProperty?: boolean;
623
+ }>;
624
+ type RuleEntry = 'off' | Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
617
625
  }
618
626
  /**
619
627
  * Require suggestable rules to implement a `meta.hasSuggestions` property
@@ -682,14 +690,16 @@ declare namespace RequireMetaSchema {
682
690
  * ]
683
691
  * ```
684
692
  */
685
- type Options = {
693
+ type Options = Readonly<{
686
694
  /**
687
695
  * Whether the rule should require the `meta.schema` property to be
688
696
  * specified (with `schema: []`) for rules that have no options.
697
+ *
698
+ * @default true
689
699
  */
690
- readonly requireSchemaPropertyWhenOptionless?: boolean;
691
- };
692
- type RuleEntry = Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]> | 'off';
700
+ requireSchemaPropertyWhenOptionless?: boolean;
701
+ }>;
702
+ type RuleEntry = 'off' | Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
693
703
  }
694
704
  /**
695
705
  * Require rules to implement a `meta.type` property
@@ -743,11 +753,11 @@ declare namespace RequireTestCaseName {
743
753
  * ]
744
754
  * ```
745
755
  */
746
- type Options = {
756
+ type Options = Readonly<{
747
757
  /** When should the name property be required on a test case object. */
748
- readonly require?: 'always' | 'objects-with-config' | 'objects';
749
- };
750
- type RuleEntry = Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]> | 'off';
758
+ require?: 'always' | 'objects' | 'objects-with-config';
759
+ }>;
760
+ type RuleEntry = 'off' | Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
751
761
  }
752
762
  /**
753
763
  * Require the properties of a test case to be placed in a consistent order
@@ -781,7 +791,7 @@ declare namespace TestCasePropertyOrdering {
781
791
  */
782
792
  /** What order to enforce for test case properties. */
783
793
  type Options = readonly unknown[];
784
- type RuleEntry = Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]> | 'off';
794
+ type RuleEntry = 'off' | Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
785
795
  }
786
796
  /**
787
797
  * Enforce consistent usage of shorthand strings for test cases with no options
@@ -819,8 +829,8 @@ declare namespace TestCaseShorthandStrings {
819
829
  * What behavior to enforce of when shorthand strings should be banned or
820
830
  * required.
821
831
  */
822
- type Options = 'as-needed' | 'consistent-as-needed' | 'consistent' | 'never';
823
- type RuleEntry = Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]> | 'off';
832
+ type Options = 'as-needed' | 'never' | 'consistent' | 'consistent-as-needed';
833
+ type RuleEntry = 'off' | Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
824
834
  }
825
835
  /**
826
836
  * Enforce that all test cases with names have unique names
@@ -838,55 +848,55 @@ declare namespace TestCaseShorthandStrings {
838
848
  declare namespace UniqueTestCaseNames {
839
849
  type RuleEntry = Linter.StringSeverity;
840
850
  }
841
- export type EslintPluginRules = {
842
- readonly 'eslint-plugin/consistent-output': ConsistentOutput.RuleEntry;
843
- readonly 'eslint-plugin/fixer-return': FixerReturn.RuleEntry;
844
- readonly 'eslint-plugin/meta-property-ordering': MetaPropertyOrdering.RuleEntry;
845
- readonly 'eslint-plugin/no-deprecated-context-methods': NoDeprecatedContextMethods.RuleEntry;
846
- readonly 'eslint-plugin/no-deprecated-report-api': NoDeprecatedReportApi.RuleEntry;
847
- readonly 'eslint-plugin/no-identical-tests': NoIdenticalTests.RuleEntry;
848
- readonly 'eslint-plugin/no-meta-replaced-by': NoMetaReplacedBy.RuleEntry;
849
- readonly 'eslint-plugin/no-meta-schema-default': NoMetaSchemaDefault.RuleEntry;
850
- readonly 'eslint-plugin/no-missing-message-ids': NoMissingMessageIds.RuleEntry;
851
- readonly 'eslint-plugin/no-missing-placeholders': NoMissingPlaceholders.RuleEntry;
852
- readonly 'eslint-plugin/no-only-tests': NoOnlyTests.RuleEntry;
853
- readonly 'eslint-plugin/no-property-in-node': NoPropertyInNode.RuleEntry;
854
- readonly 'eslint-plugin/no-unused-message-ids': NoUnusedMessageIds.RuleEntry;
855
- readonly 'eslint-plugin/no-unused-placeholders': NoUnusedPlaceholders.RuleEntry;
856
- readonly 'eslint-plugin/no-useless-token-range': NoUselessTokenRange.RuleEntry;
857
- readonly 'eslint-plugin/prefer-message-ids': PreferMessageIds.RuleEntry;
858
- readonly 'eslint-plugin/prefer-object-rule': PreferObjectRule.RuleEntry;
859
- readonly 'eslint-plugin/prefer-output-null': PreferOutputNull.RuleEntry;
860
- readonly 'eslint-plugin/prefer-placeholders': PreferPlaceholders.RuleEntry;
861
- readonly 'eslint-plugin/prefer-replace-text': PreferReplaceText.RuleEntry;
862
- readonly 'eslint-plugin/report-message-format': ReportMessageFormat.RuleEntry;
863
- readonly 'eslint-plugin/require-meta-default-options': RequireMetaDefaultOptions.RuleEntry;
864
- readonly 'eslint-plugin/require-meta-docs-description': RequireMetaDocsDescription.RuleEntry;
865
- readonly 'eslint-plugin/require-meta-docs-recommended': RequireMetaDocsRecommended.RuleEntry;
866
- readonly 'eslint-plugin/require-meta-docs-url': RequireMetaDocsUrl.RuleEntry;
867
- readonly 'eslint-plugin/require-meta-fixable': RequireMetaFixable.RuleEntry;
868
- readonly 'eslint-plugin/require-meta-has-suggestions': RequireMetaHasSuggestions.RuleEntry;
869
- readonly 'eslint-plugin/require-meta-schema-description': RequireMetaSchemaDescription.RuleEntry;
870
- readonly 'eslint-plugin/require-meta-schema': RequireMetaSchema.RuleEntry;
871
- readonly 'eslint-plugin/require-meta-type': RequireMetaType.RuleEntry;
872
- readonly 'eslint-plugin/require-test-case-name': RequireTestCaseName.RuleEntry;
873
- readonly 'eslint-plugin/test-case-property-ordering': TestCasePropertyOrdering.RuleEntry;
874
- readonly 'eslint-plugin/test-case-shorthand-strings': TestCaseShorthandStrings.RuleEntry;
875
- readonly 'eslint-plugin/unique-test-case-names': UniqueTestCaseNames.RuleEntry;
876
- };
877
- export type EslintPluginRulesOption = {
878
- readonly 'eslint-plugin/consistent-output': ConsistentOutput.Options;
879
- readonly 'eslint-plugin/meta-property-ordering': MetaPropertyOrdering.Options;
880
- readonly 'eslint-plugin/no-property-in-node': NoPropertyInNode.Options;
881
- readonly 'eslint-plugin/report-message-format': ReportMessageFormat.Options;
882
- readonly 'eslint-plugin/require-meta-docs-description': RequireMetaDocsDescription.Options;
883
- readonly 'eslint-plugin/require-meta-docs-recommended': RequireMetaDocsRecommended.Options;
884
- readonly 'eslint-plugin/require-meta-docs-url': RequireMetaDocsUrl.Options;
885
- readonly 'eslint-plugin/require-meta-fixable': RequireMetaFixable.Options;
886
- readonly 'eslint-plugin/require-meta-schema': RequireMetaSchema.Options;
887
- readonly 'eslint-plugin/require-test-case-name': RequireTestCaseName.Options;
888
- readonly 'eslint-plugin/test-case-property-ordering': TestCasePropertyOrdering.Options;
889
- readonly 'eslint-plugin/test-case-shorthand-strings': TestCaseShorthandStrings.Options;
890
- };
851
+ export type EslintPluginRules = Readonly<{
852
+ 'eslint-plugin/consistent-output': ConsistentOutput.RuleEntry;
853
+ 'eslint-plugin/fixer-return': FixerReturn.RuleEntry;
854
+ 'eslint-plugin/meta-property-ordering': MetaPropertyOrdering.RuleEntry;
855
+ 'eslint-plugin/no-deprecated-context-methods': NoDeprecatedContextMethods.RuleEntry;
856
+ 'eslint-plugin/no-deprecated-report-api': NoDeprecatedReportApi.RuleEntry;
857
+ 'eslint-plugin/no-identical-tests': NoIdenticalTests.RuleEntry;
858
+ 'eslint-plugin/no-meta-replaced-by': NoMetaReplacedBy.RuleEntry;
859
+ 'eslint-plugin/no-meta-schema-default': NoMetaSchemaDefault.RuleEntry;
860
+ 'eslint-plugin/no-missing-message-ids': NoMissingMessageIds.RuleEntry;
861
+ 'eslint-plugin/no-missing-placeholders': NoMissingPlaceholders.RuleEntry;
862
+ 'eslint-plugin/no-only-tests': NoOnlyTests.RuleEntry;
863
+ 'eslint-plugin/no-property-in-node': NoPropertyInNode.RuleEntry;
864
+ 'eslint-plugin/no-unused-message-ids': NoUnusedMessageIds.RuleEntry;
865
+ 'eslint-plugin/no-unused-placeholders': NoUnusedPlaceholders.RuleEntry;
866
+ 'eslint-plugin/no-useless-token-range': NoUselessTokenRange.RuleEntry;
867
+ 'eslint-plugin/prefer-message-ids': PreferMessageIds.RuleEntry;
868
+ 'eslint-plugin/prefer-object-rule': PreferObjectRule.RuleEntry;
869
+ 'eslint-plugin/prefer-output-null': PreferOutputNull.RuleEntry;
870
+ 'eslint-plugin/prefer-placeholders': PreferPlaceholders.RuleEntry;
871
+ 'eslint-plugin/prefer-replace-text': PreferReplaceText.RuleEntry;
872
+ 'eslint-plugin/report-message-format': ReportMessageFormat.RuleEntry;
873
+ 'eslint-plugin/require-meta-default-options': RequireMetaDefaultOptions.RuleEntry;
874
+ 'eslint-plugin/require-meta-docs-description': RequireMetaDocsDescription.RuleEntry;
875
+ 'eslint-plugin/require-meta-docs-recommended': RequireMetaDocsRecommended.RuleEntry;
876
+ 'eslint-plugin/require-meta-docs-url': RequireMetaDocsUrl.RuleEntry;
877
+ 'eslint-plugin/require-meta-fixable': RequireMetaFixable.RuleEntry;
878
+ 'eslint-plugin/require-meta-has-suggestions': RequireMetaHasSuggestions.RuleEntry;
879
+ 'eslint-plugin/require-meta-schema-description': RequireMetaSchemaDescription.RuleEntry;
880
+ 'eslint-plugin/require-meta-schema': RequireMetaSchema.RuleEntry;
881
+ 'eslint-plugin/require-meta-type': RequireMetaType.RuleEntry;
882
+ 'eslint-plugin/require-test-case-name': RequireTestCaseName.RuleEntry;
883
+ 'eslint-plugin/test-case-property-ordering': TestCasePropertyOrdering.RuleEntry;
884
+ 'eslint-plugin/test-case-shorthand-strings': TestCaseShorthandStrings.RuleEntry;
885
+ 'eslint-plugin/unique-test-case-names': UniqueTestCaseNames.RuleEntry;
886
+ }>;
887
+ export type EslintPluginRulesOption = Readonly<{
888
+ 'eslint-plugin/consistent-output': ConsistentOutput.Options;
889
+ 'eslint-plugin/meta-property-ordering': MetaPropertyOrdering.Options;
890
+ 'eslint-plugin/no-property-in-node': NoPropertyInNode.Options;
891
+ 'eslint-plugin/report-message-format': ReportMessageFormat.Options;
892
+ 'eslint-plugin/require-meta-docs-description': RequireMetaDocsDescription.Options;
893
+ 'eslint-plugin/require-meta-docs-recommended': RequireMetaDocsRecommended.Options;
894
+ 'eslint-plugin/require-meta-docs-url': RequireMetaDocsUrl.Options;
895
+ 'eslint-plugin/require-meta-fixable': RequireMetaFixable.Options;
896
+ 'eslint-plugin/require-meta-schema': RequireMetaSchema.Options;
897
+ 'eslint-plugin/require-test-case-name': RequireTestCaseName.Options;
898
+ 'eslint-plugin/test-case-property-ordering': TestCasePropertyOrdering.Options;
899
+ 'eslint-plugin/test-case-shorthand-strings': TestCaseShorthandStrings.Options;
900
+ }>;
891
901
  export {};
892
902
  //# sourceMappingURL=eslint-plugin-rules.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"eslint-plugin-rules.d.mts","sourceRoot":"","sources":["../../../src/types/rules/eslint-plugin-rules.mts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,QAAQ,CAAC;AAErC,KAAK,sBAAsB,CACzB,CAAC,SAAS,SAAS,CAAC,MAAM,CAAC,cAAc,EAAE,OAAO,CAAC,IACjD,CAAC,CAAC,CAAC,CAAC,SAAS,SAAS,OAAO,EAAE,GAC/B,SAAS,CAAC,MAAM,CAAC,cAAc,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,GACzC,CAAC,CAAC;AAEN;;;;;;;;;;;;GAYG;AACH,kBAAU,gBAAgB,CAAC;IACzB;;;;;;;;;;;;;;;;OAgBG;IACH;;;OAGG;IACH,KAAY,OAAO,GAAG,QAAQ,GAAG,YAAY,CAAC;IAE9C,KAAY,SAAS,GACjB,MAAM,CAAC,QAAQ,GACf,sBAAsB,CAAC,SAAS,CAAC,MAAM,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC,GACjE,KAAK,CAAC;CACX;AAED;;;;;;;;;;;;GAYG;AACH,kBAAU,WAAW,CAAC;IACpB,KAAY,SAAS,GAAG,MAAM,CAAC,cAAc,CAAC;CAC/C;AAED;;;;;;;;;;;;;GAaG;AACH,kBAAU,oBAAoB,CAAC;IAC7B;;;;;;;;;;;;;;OAcG;IACH,iDAAiD;IACjD,KAAY,OAAO,GAAG,SAAS,OAAO,EAAE,CAAC;IAEzC,KAAY,SAAS,GACjB,MAAM,CAAC,QAAQ,GACf,sBAAs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estructureKeys {
29
29
  * ]
30
30
  * ```
31
31
  */
32
- type Options = {
33
- readonly caseSensitive?: boolean;
34
- };
35
- type RuleEntry = Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]> | 'off';
32
+ type Options = Readonly<{
33
+ caseSensitive?: boolean;
34
+ }>;
35
+ type RuleEntry = 'off' | Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
36
36
  }
37
- export type EslintPluginSortDestructureKeysRules = {
38
- readonly 'sort-destructure-keys/sort-destructure-keys': SortDestructureKeys.RuleEntry;
39
- };
40
- export type EslintPluginSortDestructureKeysRulesOption = {
41
- readonly 'sort-destructure-keys/sort-destructure-keys': SortDestructureKeys.Options;
42
- };
37
+ export type EslintPluginSortDestructureKeysRules = Readonly<{
38
+ 'sort-destructure-keys/sort-destructure-keys': SortDestructureKeys.RuleEntry;
39
+ }>;
40
+ export type EslintPluginSortDestructureKeysRulesOption = Readonly<{
41
+ 'sort-destructure-keys/sort-destructure-keys': SortDestructureKeys.Options;
42
+ }>;
43
43
  export {};
44
44
  //# sourceMappingURL=eslint-plugin-sort-destructure-keys-rules.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"eslint-plugin-sort-destructure-keys-rules.d.mts","sourceRoot":"","sources":["../../../src/types/rules/eslint-plugin-sort-destructure-keys-rules.mts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,QAAQ,CAAC;AAErC,KAAK,sBAAsB,CACzB,CAAC,SAAS,SAAS,CAAC,MAAM,CAAC,cAAc,EAAE,OAAO,CAAC,IACjD,CAAC,CAAC,CAAC,CAAC,SAAS,SAAS,OAAO,EAAE,GAC/B,SAAS,CAAC,MAAM,CAAC,cAAc,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,GACzC,CAAC,CAAC;AAEN;;;;;;;;;;GAUG;AACH,kBAAU,mBAAmB,CAAC;IAC5B;;;;;;;;;;;;;;;;OAgBG;IACH,KAAY,OAAO,GAAG;QACpB,QAAQ,CAAC,aAAa,CAAC,EAAE,OAAO,CAAC;KAClC,CAAC;IAEF,KAAY,SAAS,GACjB,MAAM,CAAC,QAAQ,GACf,sBAAsB,CAAC,SAAS,CAAC,MAAM,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC,GACjE,KAAK,CAAC;CACX;AAED,MAAM,MAAM,oCAAoC,GAAG;IACjD,QAAQ,CAAC,6CAA6C,EAAE,mBAAmB,CAAC,SAAS,CAAC;CACvF,CAAC;AAEF,MAAM,MAAM,0CAA0C,GAAG;IACvD,QAAQ,CAAC,6CAA6C,EAAE,mBAAmB,CAAC,OAAO,CAAC;CACrF,CAAC"}
1
+ {"version":3,"file":"eslint-plugin-sort-destructure-keys-rules.d.mts","sourceRoot":"","sources":["../../../src/types/rules/eslint-plugin-sort-destructure-keys-rules.mts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,QAAQ,CAAC;AAErC,KAAK,sBAAsB,CACzB,CAAC,SAAS,SAAS,CAAC,MAAM,CAAC,cAAc,EAAE,OAAO,CAAC,IACjD,CAAC,CAAC,CAAC,CAAC,SAAS,SAAS,OAAO,EAAE,GAC/B,SAAS,CAAC,MAAM,CAAC,cAAc,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,GACzC,CAAC,CAAC;AAEN;;;;;;;;;;GAUG;AACH,kBAAU,mBAAmB,CAAC;IAC5B;;;;;;;;;;;;;;;;OAgBG;IACH,KAAY,OAAO,GAAG,QAAQ,CAAC;QAC7B,aAAa,CAAC,EAAE,OAAO,CAAC;KACzB,CAAC,CAAC;IAEH,KAAY,SAAS,GACjB,KAAK,GACL,MAAM,CAAC,QAAQ,GACf,sBAAsB,CAAC,SAAS,CAAC,MAAM,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC,CAAC;CACvE;AAED,MAAM,MAAM,oCAAoC,GAAG,QAAQ,CAAC;IAC1D,6CAA6C,EAAE,mBAAmB,CAAC,SAAS,CAAC;CAC9E,CAAC,CAAC;AAEH,MAAM,MAAM,0CAA0C,GAAG,QAAQ,CAAC;IAChE,6CAA6C,EAAE,mBAAmB,CAAC,OAAO,CAAC;CAC5E,CAAC,CAAC"}
@@ -71,22 +71,29 @@ declare namespace PreferArrowFunctions {
71
71
  * ]
72
72
  * ```
73
73
  */
74
- type Options = {
75
- readonly allowedNames?: readonly string[];
76
- readonly allowNamedFunctions?: boolean | 'only-expressions';
77
- readonly allowObjectProperties?: boolean;
78
- readonly classPropertiesAllowed?: boolean;
79
- readonly disallowPrototype?: boolean;
80
- readonly returnStyle?: 'explicit' | 'implicit' | 'unchanged';
81
- readonly singleReturnOnly?: boolean;
82
- };
83
- type RuleEntry = Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]> | 'off';
74
+ type Options = Readonly<{
75
+ /** @default [ ] */
76
+ allowedNames?: readonly string[];
77
+ /** @default false */
78
+ allowNamedFunctions?: boolean | 'only-expressions';
79
+ /** @default false */
80
+ allowObjectProperties?: boolean;
81
+ /** @default false */
82
+ classPropertiesAllowed?: boolean;
83
+ /** @default false */
84
+ disallowPrototype?: boolean;
85
+ /** @default 'unchanged' */
86
+ returnStyle?: 'explicit' | 'implicit' | 'unchanged';
87
+ /** @default false */
88
+ singleReturnOnly?: boolean;
89
+ }>;
90
+ type RuleEntry = 'off' | Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
84
91
  }
85
- export type EslintPreferArrowFunctionRules = {
86
- readonly 'prefer-arrow-functions/prefer-arrow-functions': PreferArrowFunctions.RuleEntry;
87
- };
88
- export type EslintPreferArrowFunctionRulesOption = {
89
- readonly 'prefer-arrow-functions/prefer-arrow-functions': PreferArrowFunctions.Options;
90
- };
92
+ export type EslintPreferArrowFunctionRules = Readonly<{
93
+ 'prefer-arrow-functions/prefer-arrow-functions': PreferArrowFunctions.RuleEntry;
94
+ }>;
95
+ export type EslintPreferArrowFunctionRulesOption = Readonly<{
96
+ 'prefer-arrow-functions/prefer-arrow-functions': PreferArrowFunctions.Options;
97
+ }>;
91
98
  export {};
92
99
  //# sourceMappingURL=eslint-prefer-arrow-functions-rules.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"eslint-prefer-arrow-functions-rules.d.mts","sourceRoot":"","sources":["../../../src/types/rules/eslint-prefer-arrow-functions-rules.mts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,QAAQ,CAAC;AAErC,KAAK,sBAAsB,CACzB,CAAC,SAAS,SAAS,CAAC,MAAM,CAAC,cAAc,EAAE,OAAO,CAAC,IACjD,CAAC,CAAC,CAAC,CAAC,SAAS,SAAS,OAAO,EAAE,GAC/B,SAAS,CAAC,MAAM,CAAC,cAAc,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,GACzC,CAAC,CAAC;AAEN;;;;;;;;;;;;;GAaG;AACH,kBAAU,oBAAoB,CAAC;IAC7B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuDG;IACH,KAAY,OAAO,GAAG;QACpB,QAAQ,CAAC,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;QAC1C,QAAQ,CAAC,mBAAmB,CAAC,EAAE,OAAO,GAAG,kBAAkB,CAAC;QAC5D,QAAQ,CAAC,qBAAqB,CAAC,EAAE,OAAO,CAAC;QACzC,QAAQ,CAAC,sBAAsB,CAAC,EAAE,OAAO,CAAC;QAC1C,QAAQ,CAAC,iBAAiB,CAAC,EAAE,OAAO,CAAC;QACrC,QAAQ,CAAC,WAAW,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,WAAW,CAAC;QAC7D,QAAQ,CAAC,gBAAgB,CAAC,EAAE,OAAO,CAAC;KACrC,CAAC;IAEF,KAAY,SAAS,GACjB,MAAM,CAAC,QAAQ,GACf,sBAAsB,CAAC,SAAS,CAAC,MAAM,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC,GACjE,KAAK,CAAC;CACX;AAED,MAAM,MAAM,8BAA8B,GAAG;IAC3C,QAAQ,CAAC,+CAA+C,EAAE,oBAAoB,CAAC,SAAS,CAAC;CAC1F,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAAG;IACjD,QAAQ,CAAC,+CAA+C,EAAE,oBAAoB,CAAC,OAAO,CAAC;CACxF,CAAC"}
1
+ {"version":3,"file":"eslint-prefer-arrow-functions-rules.d.mts","sourceRoot":"","sources":["../../../src/types/rules/eslint-prefer-arrow-functions-rules.mts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,QAAQ,CAAC;AAErC,KAAK,sBAAsB,CACzB,CAAC,SAAS,SAAS,CAAC,MAAM,CAAC,cAAc,EAAE,OAAO,CAAC,IACjD,CAAC,CAAC,CAAC,CAAC,SAAS,SAAS,OAAO,EAAE,GAC/B,SAAS,CAAC,MAAM,CAAC,cAAc,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,GACzC,CAAC,CAAC;AAEN;;;;;;;;;;;;;GAaG;AACH,kBAAU,oBAAoB,CAAC;IAC7B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuDG;IACH,KAAY,OAAO,GAAG,QAAQ,CAAC;QAC7B,mBAAmB;QACnB,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;QACjC,qBAAqB;QACrB,mBAAmB,CAAC,EAAE,OAAO,GAAG,kBAAkB,CAAC;QACnD,qBAAqB;QACrB,qBAAqB,CAAC,EAAE,OAAO,CAAC;QAChC,qBAAqB;QACrB,sBAAsB,CAAC,EAAE,OAAO,CAAC;QACjC,qBAAqB;QACrB,iBAAiB,CAAC,EAAE,OAAO,CAAC;QAC5B,2BAA2B;QAC3B,WAAW,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,WAAW,CAAC;QACpD,qBAAqB;QACrB,gBAAgB,CAAC,EAAE,OAAO,CAAC;KAC5B,CAAC,CAAC;IAEH,KAAY,SAAS,GACjB,KAAK,GACL,MAAM,CAAC,QAAQ,GACf,sBAAsB,CAAC,SAAS,CAAC,MAAM,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC,CAAC;CACvE;AAED,MAAM,MAAM,8BAA8B,GAAG,QAAQ,CAAC;IACpD,+CAA+C,EAAE,oBAAoB,CAAC,SAAS,CAAC;CACjF,CAAC,CAAC;AAEH,MAAM,MAAM,oCAAoC,GAAG,QAAQ,CAAC;IAC1D,+CAA+C,EAAE,oBAAoB,CAAC,OAAO,CAAC;CAC/E,CAAC,CAAC"}
@@ -33,11 +33,11 @@ declare namespace ParamNames {
33
33
  * ]
34
34
  * ```
35
35
  */
36
- type Options = {
37
- readonly resolvePattern?: string;
38
- readonly rejectPattern?: string;
39
- };
40
- type RuleEntry = Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]> | 'off';
36
+ type Options = Readonly<{
37
+ resolvePattern?: string;
38
+ rejectPattern?: string;
39
+ }>;
40
+ type RuleEntry = 'off' | Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
41
41
  }
42
42
  /**
43
43
  * Disallow wrapping values in `Promise.resolve` or `Promise.reject` when not
@@ -70,10 +70,10 @@ declare namespace NoReturnWrap {
70
70
  * ]
71
71
  * ```
72
72
  */
73
- type Options = {
74
- readonly allowReject?: boolean;
75
- };
76
- type RuleEntry = Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]> | 'off';
73
+ type Options = Readonly<{
74
+ allowReject?: boolean;
75
+ }>;
76
+ type RuleEntry = 'off' | Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
77
77
  }
78
78
  /**
79
79
  * Require returning inside each `then()` to create readable and reusable
@@ -114,11 +114,11 @@ declare namespace AlwaysReturn {
114
114
  * ]
115
115
  * ```
116
116
  */
117
- type Options = {
118
- readonly ignoreLastCallback?: boolean;
119
- readonly ignoreAssignmentVariable?: readonly string[];
120
- };
121
- type RuleEntry = Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]> | 'off';
117
+ type Options = Readonly<{
118
+ ignoreLastCallback?: boolean;
119
+ ignoreAssignmentVariable?: readonly string[];
120
+ }>;
121
+ type RuleEntry = 'off' | Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
122
122
  }
123
123
  /**
124
124
  * Enforce the use of `catch()` on un-returned promises.
@@ -169,13 +169,13 @@ declare namespace CatchOrReturn {
169
169
  * ]
170
170
  * ```
171
171
  */
172
- type Options = {
173
- readonly allowFinally?: boolean;
174
- readonly allowThen?: boolean;
175
- readonly allowThenStrict?: boolean;
176
- readonly terminationMethod?: string | readonly string[];
177
- };
178
- type RuleEntry = Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]> | 'off';
172
+ type Options = Readonly<{
173
+ allowFinally?: boolean;
174
+ allowThen?: boolean;
175
+ allowThenStrict?: boolean;
176
+ terminationMethod?: string | readonly string[];
177
+ }>;
178
+ type RuleEntry = 'off' | Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
179
179
  }
180
180
  /**
181
181
  * Prefer `async`/`await` to the callback pattern.
@@ -221,11 +221,11 @@ declare namespace PreferAwaitToThen {
221
221
  * ]
222
222
  * ```
223
223
  */
224
- type Options = {
225
- readonly strict?: boolean;
226
- readonly [k: string]: unknown;
227
- };
228
- type RuleEntry = Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]> | 'off';
224
+ type Options = Readonly<{
225
+ strict?: boolean;
226
+ [k: string]: unknown;
227
+ }>;
228
+ type RuleEntry = 'off' | Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
229
229
  }
230
230
  /**
231
231
  * Prefer `catch` to `then(a, b)`/`then(null, b)` for handling errors.
@@ -296,11 +296,11 @@ declare namespace NoCallbackInPromise {
296
296
  * ]
297
297
  * ```
298
298
  */
299
- type Options = {
300
- readonly exceptions?: readonly string[];
301
- readonly timeoutsErr?: boolean;
302
- };
303
- type RuleEntry = Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]> | 'off';
299
+ type Options = Readonly<{
300
+ exceptions?: readonly string[];
301
+ timeoutsErr?: boolean;
302
+ }>;
303
+ type RuleEntry = 'off' | Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
304
304
  }
305
305
  /**
306
306
  * Disallow using promises inside of callbacks.
@@ -412,10 +412,10 @@ declare namespace ValidParams {
412
412
  * ]
413
413
  * ```
414
414
  */
415
- type Options = {
416
- readonly exclude?: readonly string[];
417
- };
418
- type RuleEntry = Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]> | 'off';
415
+ type Options = Readonly<{
416
+ exclude?: readonly string[];
417
+ }>;
418
+ type RuleEntry = 'off' | Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
419
419
  }
420
420
  /**
421
421
  * Disallow creating new promises with paths that resolve multiple times.
@@ -465,39 +465,39 @@ declare namespace SpecOnly {
465
465
  * ]
466
466
  * ```
467
467
  */
468
- type Options = {
469
- readonly allowedMethods?: readonly string[];
470
- };
471
- type RuleEntry = Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]> | 'off';
468
+ type Options = Readonly<{
469
+ allowedMethods?: readonly string[];
470
+ }>;
471
+ type RuleEntry = 'off' | Linter.Severity | SpreadOptionsIfIsArray<readonly [Linter.StringSeverity, Options]>;
472
472
  }
473
- export type EslintPromiseRules = {
474
- readonly 'promise/param-names': ParamNames.RuleEntry;
475
- readonly 'promise/no-return-wrap': NoReturnWrap.RuleEntry;
476
- readonly 'promise/always-return': AlwaysReturn.RuleEntry;
477
- readonly 'promise/catch-or-return': CatchOrReturn.RuleEntry;
478
- readonly 'promise/prefer-await-to-callbacks': PreferAwaitToCallbacks.RuleEntry;
479
- readonly 'promise/prefer-await-to-then': PreferAwaitToThen.RuleEntry;
480
- readonly 'promise/prefer-catch': PreferCatch.RuleEntry;
481
- readonly 'promise/no-native': NoNative.RuleEntry;
482
- readonly 'promise/no-callback-in-promise': NoCallbackInPromise.RuleEntry;
483
- readonly 'promise/no-promise-in-callback': NoPromiseInCallback.RuleEntry;
484
- readonly 'promise/no-nesting': NoNesting.RuleEntry;
485
- readonly 'promise/avoid-new': AvoidNew.RuleEntry;
486
- readonly 'promise/no-new-statics': NoNewStatics.RuleEntry;
487
- readonly 'promise/no-return-in-finally': NoReturnInFinally.RuleEntry;
488
- readonly 'promise/valid-params': ValidParams.RuleEntry;
489
- readonly 'promise/no-multiple-resolved': NoMultipleResolved.RuleEntry;
490
- readonly 'promise/spec-only': SpecOnly.RuleEntry;
491
- };
492
- export type EslintPromiseRulesOption = {
493
- readonly 'promise/param-names': ParamNames.Options;
494
- readonly 'promise/no-return-wrap': NoReturnWrap.Options;
495
- readonly 'promise/always-return': AlwaysReturn.Options;
496
- readonly 'promise/catch-or-return': CatchOrReturn.Options;
497
- readonly 'promise/prefer-await-to-then': PreferAwaitToThen.Options;
498
- readonly 'promise/no-callback-in-promise': NoCallbackInPromise.Options;
499
- readonly 'promise/valid-params': ValidParams.Options;
500
- readonly 'promise/spec-only': SpecOnly.Options;
501
- };
473
+ export type EslintPromiseRules = Readonly<{
474
+ 'promise/param-names': ParamNames.RuleEntry;
475
+ 'promise/no-return-wrap': NoReturnWrap.RuleEntry;
476
+ 'promise/always-return': AlwaysReturn.RuleEntry;
477
+ 'promise/catch-or-return': CatchOrReturn.RuleEntry;
478
+ 'promise/prefer-await-to-callbacks': PreferAwaitToCallbacks.RuleEntry;
479
+ 'promise/prefer-await-to-then': PreferAwaitToThen.RuleEntry;
480
+ 'promise/prefer-catch': PreferCatch.RuleEntry;
481
+ 'promise/no-native': NoNative.RuleEntry;
482
+ 'promise/no-callback-in-promise': NoCallbackInPromise.RuleEntry;
483
+ 'promise/no-promise-in-callback': NoPromiseInCallback.RuleEntry;
484
+ 'promise/no-nesting': NoNesting.RuleEntry;
485
+ 'promise/avoid-new': AvoidNew.RuleEntry;
486
+ 'promise/no-new-statics': NoNewStatics.RuleEntry;
487
+ 'promise/no-return-in-finally': NoReturnInFinally.RuleEntry;
488
+ 'promise/valid-params': ValidParams.RuleEntry;
489
+ 'promise/no-multiple-resolved': NoMultipleResolved.RuleEntry;
490
+ 'promise/spec-only': SpecOnly.RuleEntry;
491
+ }>;
492
+ export type EslintPromiseRulesOption = Readonly<{
493
+ 'promise/param-names': ParamNames.Options;
494
+ 'promise/no-return-wrap': NoReturnWrap.Options;
495
+ 'promise/always-return': AlwaysReturn.Options;
496
+ 'promise/catch-or-return': CatchOrReturn.Options;
497
+ 'promise/prefer-await-to-then': PreferAwaitToThen.Options;
498
+ 'promise/no-callback-in-promise': NoCallbackInPromise.Options;
499
+ 'promise/valid-params': ValidParams.Options;
500
+ 'promise/spec-only': SpecOnly.Options;
501
+ }>;
502
502
  export {};
503
503
  //# sourceMappingURL=eslint-promise-rules.d.mts.map