eslint-config-typed 4.2.0 → 4.3.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.
Files changed (170) hide show
  1. package/README.md +4 -0
  2. package/dist/configs/immer.d.mts +3 -0
  3. package/dist/configs/immer.d.mts.map +1 -0
  4. package/dist/configs/immer.mjs +11 -0
  5. package/dist/configs/immer.mjs.map +1 -0
  6. package/dist/configs/index.d.mts +2 -0
  7. package/dist/configs/index.d.mts.map +1 -1
  8. package/dist/configs/index.mjs +2 -0
  9. package/dist/configs/index.mjs.map +1 -1
  10. package/dist/configs/plugins.d.mts +1 -1
  11. package/dist/configs/plugins.d.mts.map +1 -1
  12. package/dist/configs/plugins.mjs +2 -0
  13. package/dist/configs/plugins.mjs.map +1 -1
  14. package/dist/configs/ts-data-forge.d.mts +3 -0
  15. package/dist/configs/ts-data-forge.d.mts.map +1 -0
  16. package/dist/configs/ts-data-forge.mjs +11 -0
  17. package/dist/configs/ts-data-forge.mjs.map +1 -0
  18. package/dist/configs/typescript.d.mts.map +1 -1
  19. package/dist/configs/typescript.mjs +0 -2
  20. package/dist/configs/typescript.mjs.map +1 -1
  21. package/dist/entry-point.mjs +4 -0
  22. package/dist/entry-point.mjs.map +1 -1
  23. package/dist/index.mjs +4 -0
  24. package/dist/index.mjs.map +1 -1
  25. package/dist/plugins/index.d.mts +1 -0
  26. package/dist/plugins/index.d.mts.map +1 -1
  27. package/dist/plugins/index.mjs +1 -0
  28. package/dist/plugins/index.mjs.map +1 -1
  29. package/dist/plugins/ts-data-forge/index.d.mts +2 -0
  30. package/dist/plugins/ts-data-forge/index.d.mts.map +1 -0
  31. package/dist/plugins/ts-data-forge/index.mjs +2 -0
  32. package/dist/plugins/ts-data-forge/index.mjs.map +1 -0
  33. package/dist/plugins/ts-data-forge/plugin.d.mts +3 -0
  34. package/dist/plugins/ts-data-forge/plugin.d.mts.map +1 -0
  35. package/dist/plugins/ts-data-forge/plugin.mjs +8 -0
  36. package/dist/plugins/ts-data-forge/plugin.mjs.map +1 -0
  37. package/dist/plugins/ts-data-forge/rules/branded-number-types.d.mts +5 -0
  38. package/dist/plugins/ts-data-forge/rules/branded-number-types.d.mts.map +1 -0
  39. package/dist/plugins/ts-data-forge/rules/branded-number-types.mjs +35 -0
  40. package/dist/plugins/ts-data-forge/rules/branded-number-types.mjs.map +1 -0
  41. package/dist/plugins/ts-data-forge/rules/constants.d.mts +2 -0
  42. package/dist/plugins/ts-data-forge/rules/constants.d.mts.map +1 -0
  43. package/dist/plugins/ts-data-forge/rules/constants.mjs +4 -0
  44. package/dist/plugins/ts-data-forge/rules/constants.mjs.map +1 -0
  45. package/dist/plugins/ts-data-forge/rules/import-utils.d.mts +5 -0
  46. package/dist/plugins/ts-data-forge/rules/import-utils.d.mts.map +1 -0
  47. package/dist/plugins/ts-data-forge/rules/import-utils.mjs +31 -0
  48. package/dist/plugins/ts-data-forge/rules/import-utils.mjs.map +1 -0
  49. package/dist/plugins/ts-data-forge/rules/index.d.mts +2 -0
  50. package/dist/plugins/ts-data-forge/rules/index.d.mts.map +1 -0
  51. package/dist/plugins/ts-data-forge/rules/index.mjs +2 -0
  52. package/dist/plugins/ts-data-forge/rules/index.mjs.map +1 -0
  53. package/dist/plugins/ts-data-forge/rules/prefer-arr-is-array-at-least-length.d.mts +6 -0
  54. package/dist/plugins/ts-data-forge/rules/prefer-arr-is-array-at-least-length.d.mts.map +1 -0
  55. package/dist/plugins/ts-data-forge/rules/prefer-arr-is-array-at-least-length.mjs +94 -0
  56. package/dist/plugins/ts-data-forge/rules/prefer-arr-is-array-at-least-length.mjs.map +1 -0
  57. package/dist/plugins/ts-data-forge/rules/prefer-arr-is-array-of-length.d.mts +6 -0
  58. package/dist/plugins/ts-data-forge/rules/prefer-arr-is-array-of-length.d.mts.map +1 -0
  59. package/dist/plugins/ts-data-forge/rules/prefer-arr-is-array-of-length.mjs +95 -0
  60. package/dist/plugins/ts-data-forge/rules/prefer-arr-is-array-of-length.mjs.map +1 -0
  61. package/dist/plugins/ts-data-forge/rules/prefer-arr-is-array.d.mts +6 -0
  62. package/dist/plugins/ts-data-forge/rules/prefer-arr-is-array.d.mts.map +1 -0
  63. package/dist/plugins/ts-data-forge/rules/prefer-arr-is-array.mjs +72 -0
  64. package/dist/plugins/ts-data-forge/rules/prefer-arr-is-array.mjs.map +1 -0
  65. package/dist/plugins/ts-data-forge/rules/prefer-arr-is-non-empty.d.mts +6 -0
  66. package/dist/plugins/ts-data-forge/rules/prefer-arr-is-non-empty.d.mts.map +1 -0
  67. package/dist/plugins/ts-data-forge/rules/prefer-arr-is-non-empty.mjs +71 -0
  68. package/dist/plugins/ts-data-forge/rules/prefer-arr-is-non-empty.mjs.map +1 -0
  69. package/dist/plugins/ts-data-forge/rules/prefer-arr-sum.d.mts +6 -0
  70. package/dist/plugins/ts-data-forge/rules/prefer-arr-sum.d.mts.map +1 -0
  71. package/dist/plugins/ts-data-forge/rules/prefer-arr-sum.mjs +183 -0
  72. package/dist/plugins/ts-data-forge/rules/prefer-arr-sum.mjs.map +1 -0
  73. package/dist/plugins/ts-data-forge/rules/prefer-as-int.d.mts +6 -0
  74. package/dist/plugins/ts-data-forge/rules/prefer-as-int.d.mts.map +1 -0
  75. package/dist/plugins/ts-data-forge/rules/prefer-as-int.mjs +86 -0
  76. package/dist/plugins/ts-data-forge/rules/prefer-as-int.mjs.map +1 -0
  77. package/dist/plugins/ts-data-forge/rules/prefer-is-non-null-object.d.mts +6 -0
  78. package/dist/plugins/ts-data-forge/rules/prefer-is-non-null-object.d.mts.map +1 -0
  79. package/dist/plugins/ts-data-forge/rules/prefer-is-non-null-object.mjs +103 -0
  80. package/dist/plugins/ts-data-forge/rules/prefer-is-non-null-object.mjs.map +1 -0
  81. package/dist/plugins/ts-data-forge/rules/prefer-is-record-and-has-key.d.mts +6 -0
  82. package/dist/plugins/ts-data-forge/rules/prefer-is-record-and-has-key.d.mts.map +1 -0
  83. package/dist/plugins/ts-data-forge/rules/prefer-is-record-and-has-key.mjs +105 -0
  84. package/dist/plugins/ts-data-forge/rules/prefer-is-record-and-has-key.mjs.map +1 -0
  85. package/dist/plugins/ts-data-forge/rules/prefer-range-for-loop.d.mts +6 -0
  86. package/dist/plugins/ts-data-forge/rules/prefer-range-for-loop.d.mts.map +1 -0
  87. package/dist/plugins/ts-data-forge/rules/prefer-range-for-loop.mjs +130 -0
  88. package/dist/plugins/ts-data-forge/rules/prefer-range-for-loop.mjs.map +1 -0
  89. package/dist/plugins/ts-data-forge/rules/rules.d.mts +12 -0
  90. package/dist/plugins/ts-data-forge/rules/rules.d.mts.map +1 -0
  91. package/dist/plugins/ts-data-forge/rules/rules.mjs +24 -0
  92. package/dist/plugins/ts-data-forge/rules/rules.mjs.map +1 -0
  93. package/dist/plugins/ts-restrictions/rules/check-destructuring-completeness.d.mts.map +1 -1
  94. package/dist/plugins/ts-restrictions/rules/check-destructuring-completeness.mjs +6 -8
  95. package/dist/plugins/ts-restrictions/rules/check-destructuring-completeness.mjs.map +1 -1
  96. package/dist/plugins/ts-restrictions/rules/no-restricted-cast-name.d.mts.map +1 -1
  97. package/dist/plugins/ts-restrictions/rules/no-restricted-cast-name.mjs +11 -15
  98. package/dist/plugins/ts-restrictions/rules/no-restricted-cast-name.mjs.map +1 -1
  99. package/dist/rules/eslint-jest-rules.d.mts +3 -0
  100. package/dist/rules/eslint-jest-rules.d.mts.map +1 -1
  101. package/dist/rules/eslint-jest-rules.mjs +3 -0
  102. package/dist/rules/eslint-jest-rules.mjs.map +1 -1
  103. package/dist/rules/eslint-ts-data-forge-rules.d.mts +12 -0
  104. package/dist/rules/eslint-ts-data-forge-rules.d.mts.map +1 -0
  105. package/dist/rules/eslint-ts-data-forge-rules.mjs +14 -0
  106. package/dist/rules/eslint-ts-data-forge-rules.mjs.map +1 -0
  107. package/dist/rules/eslint-vitest-rules.d.mts +2 -2
  108. package/dist/rules/eslint-vitest-rules.mjs +2 -2
  109. package/dist/rules/eslint-vitest-rules.mjs.map +1 -1
  110. package/dist/rules/index.d.mts +1 -0
  111. package/dist/rules/index.d.mts.map +1 -1
  112. package/dist/rules/index.mjs +1 -0
  113. package/dist/rules/index.mjs.map +1 -1
  114. package/dist/types/define-known-rules.d.mts +2 -2
  115. package/dist/types/define-known-rules.d.mts.map +1 -1
  116. package/dist/types/define-known-rules.mjs.map +1 -1
  117. package/dist/types/rules/eslint-jest-rules.d.mts +119 -67
  118. package/dist/types/rules/eslint-jest-rules.d.mts.map +1 -1
  119. package/dist/types/rules/eslint-ts-data-forge-rules.d.mts +147 -0
  120. package/dist/types/rules/eslint-ts-data-forge-rules.d.mts.map +1 -0
  121. package/dist/types/rules/eslint-ts-data-forge-rules.mjs +2 -0
  122. package/dist/types/rules/eslint-ts-data-forge-rules.mjs.map +1 -0
  123. package/dist/types/rules/eslint-vitest-rules.d.mts +41 -20
  124. package/dist/types/rules/eslint-vitest-rules.d.mts.map +1 -1
  125. package/dist/types/rules/index.d.mts +1 -0
  126. package/dist/types/rules/index.d.mts.map +1 -1
  127. package/package.json +14 -14
  128. package/src/configs/immer.mts +9 -0
  129. package/src/configs/index.mts +2 -0
  130. package/src/configs/plugins.mts +3 -0
  131. package/src/configs/ts-data-forge.mts +11 -0
  132. package/src/configs/typescript.mts +0 -2
  133. package/src/plugins/index.mts +1 -0
  134. package/src/plugins/strict-dependencies/rules/resolve-import-path.test.mts +7 -9
  135. package/src/plugins/ts-data-forge/index.mts +1 -0
  136. package/src/plugins/ts-data-forge/plugin.mts +6 -0
  137. package/src/plugins/ts-data-forge/rules/branded-number-types.mts +36 -0
  138. package/src/plugins/ts-data-forge/rules/constants.mts +1 -0
  139. package/src/plugins/ts-data-forge/rules/import-utils.mts +56 -0
  140. package/src/plugins/ts-data-forge/rules/index.mts +1 -0
  141. package/src/plugins/ts-data-forge/rules/prefer-arr-is-array-at-least-length.mts +140 -0
  142. package/src/plugins/ts-data-forge/rules/prefer-arr-is-array-at-least-length.test.mts +175 -0
  143. package/src/plugins/ts-data-forge/rules/prefer-arr-is-array-of-length.mts +144 -0
  144. package/src/plugins/ts-data-forge/rules/prefer-arr-is-array-of-length.test.mts +183 -0
  145. package/src/plugins/ts-data-forge/rules/prefer-arr-is-array.mts +97 -0
  146. package/src/plugins/ts-data-forge/rules/prefer-arr-is-array.test.mts +62 -0
  147. package/src/plugins/ts-data-forge/rules/prefer-arr-is-non-empty.mts +106 -0
  148. package/src/plugins/ts-data-forge/rules/prefer-arr-is-non-empty.test.mts +83 -0
  149. package/src/plugins/ts-data-forge/rules/prefer-arr-sum.mts +269 -0
  150. package/src/plugins/ts-data-forge/rules/prefer-arr-sum.test.mts +171 -0
  151. package/src/plugins/ts-data-forge/rules/prefer-as-int.mts +130 -0
  152. package/src/plugins/ts-data-forge/rules/prefer-as-int.test.mts +267 -0
  153. package/src/plugins/ts-data-forge/rules/prefer-is-non-null-object.mts +144 -0
  154. package/src/plugins/ts-data-forge/rules/prefer-is-non-null-object.test.mts +156 -0
  155. package/src/plugins/ts-data-forge/rules/prefer-is-record-and-has-key.mts +158 -0
  156. package/src/plugins/ts-data-forge/rules/prefer-is-record-and-has-key.test.mts +191 -0
  157. package/src/plugins/ts-data-forge/rules/prefer-range-for-loop.mts +181 -0
  158. package/src/plugins/ts-data-forge/rules/prefer-range-for-loop.test.mts +156 -0
  159. package/src/plugins/ts-data-forge/rules/rules.mts +22 -0
  160. package/src/plugins/ts-restrictions/rules/check-destructuring-completeness.mts +6 -8
  161. package/src/plugins/ts-restrictions/rules/no-restricted-cast-name.mts +11 -15
  162. package/src/rules/eslint-jest-rules.mts +3 -0
  163. package/src/rules/eslint-ts-data-forge-rules.mts +13 -0
  164. package/src/rules/eslint-vitest-rules.mts +2 -2
  165. package/src/rules/index.mts +1 -0
  166. package/src/types/define-known-rules.mts +2 -0
  167. package/src/types/rules/eslint-jest-rules.mts +122 -67
  168. package/src/types/rules/eslint-ts-data-forge-rules.mts +156 -0
  169. package/src/types/rules/eslint-vitest-rules.mts +46 -21
  170. package/src/types/rules/index.mts +1 -0
@@ -3,7 +3,7 @@ type SpreadOptionsIfIsArray<T extends readonly [Linter.StringSeverity, unknown]>
3
3
  /**
4
4
  * Enforce `test` and `it` usage conventions
5
5
  *
6
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/consistent-test-it.md
6
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/consistent-test-it.md
7
7
  *
8
8
  * ```md
9
9
  * | key | value |
@@ -51,7 +51,7 @@ declare namespace ConsistentTestIt {
51
51
  /**
52
52
  * Enforce assertion to be made in a test body
53
53
  *
54
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/expect-expect.md
54
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/expect-expect.md
55
55
  *
56
56
  * ```md
57
57
  * | key | value |
@@ -96,7 +96,7 @@ declare namespace ExpectExpect {
96
96
  /**
97
97
  * Enforces a maximum number assertion calls in a test body
98
98
  *
99
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/max-expects.md
99
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/max-expects.md
100
100
  *
101
101
  * ```md
102
102
  * | key | value |
@@ -132,7 +132,7 @@ declare namespace MaxExpects {
132
132
  /**
133
133
  * Enforces a maximum depth to nested describe calls
134
134
  *
135
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/max-nested-describe.md
135
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/max-nested-describe.md
136
136
  *
137
137
  * ```md
138
138
  * | key | value |
@@ -168,7 +168,7 @@ declare namespace MaxNestedDescribe {
168
168
  /**
169
169
  * Disallow alias methods
170
170
  *
171
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-alias-methods.md
171
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/no-alias-methods.md
172
172
  *
173
173
  * ```md
174
174
  * | key | value |
@@ -184,7 +184,7 @@ declare namespace NoAliasMethods {
184
184
  /**
185
185
  * Disallow commented out tests
186
186
  *
187
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-commented-out-tests.md
187
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/no-commented-out-tests.md
188
188
  *
189
189
  * ```md
190
190
  * | key | value |
@@ -199,7 +199,7 @@ declare namespace NoCommentedOutTests {
199
199
  /**
200
200
  * Disallow calling `expect` conditionally
201
201
  *
202
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-conditional-expect.md
202
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/no-conditional-expect.md
203
203
  *
204
204
  * ```md
205
205
  * | key | value |
@@ -214,7 +214,7 @@ declare namespace NoConditionalExpect {
214
214
  /**
215
215
  * Disallow conditional logic in tests
216
216
  *
217
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-conditional-in-test.md
217
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/no-conditional-in-test.md
218
218
  *
219
219
  * ```md
220
220
  * | key | value |
@@ -229,7 +229,7 @@ declare namespace NoConditionalInTest {
229
229
  /**
230
230
  * Disallow confusing usages of jest.setTimeout
231
231
  *
232
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-confusing-set-timeout.md
232
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/no-confusing-set-timeout.md
233
233
  *
234
234
  * ```md
235
235
  * | key | value |
@@ -244,7 +244,7 @@ declare namespace NoConfusingSetTimeout {
244
244
  /**
245
245
  * Disallow use of deprecated functions
246
246
  *
247
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-deprecated-functions.md
247
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/no-deprecated-functions.md
248
248
  *
249
249
  * ```md
250
250
  * | key | value |
@@ -260,7 +260,7 @@ declare namespace NoDeprecatedFunctions {
260
260
  /**
261
261
  * Disallow disabled tests
262
262
  *
263
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-disabled-tests.md
263
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/no-disabled-tests.md
264
264
  *
265
265
  * ```md
266
266
  * | key | value |
@@ -275,7 +275,7 @@ declare namespace NoDisabledTests {
275
275
  /**
276
276
  * Disallow using a callback in asynchronous tests and hooks
277
277
  *
278
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-done-callback.md
278
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/no-done-callback.md
279
279
  *
280
280
  * ```md
281
281
  * | key | value |
@@ -291,7 +291,7 @@ declare namespace NoDoneCallback {
291
291
  /**
292
292
  * Disallow duplicate setup and teardown hooks
293
293
  *
294
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-duplicate-hooks.md
294
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/no-duplicate-hooks.md
295
295
  *
296
296
  * ```md
297
297
  * | key | value |
@@ -303,10 +303,26 @@ declare namespace NoDoneCallback {
303
303
  declare namespace NoDuplicateHooks {
304
304
  type RuleEntry = Linter.StringSeverity;
305
305
  }
306
+ /**
307
+ * Disallow using equality matchers on error types
308
+ *
309
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/no-error-equal.md
310
+ *
311
+ * ```md
312
+ * | key | value |
313
+ * | :------------------- | :--------- |
314
+ * | type | suggestion |
315
+ * | deprecated | false |
316
+ * | requiresTypeChecking | true |
317
+ * ```
318
+ */
319
+ declare namespace NoErrorEqual {
320
+ type RuleEntry = Linter.StringSeverity;
321
+ }
306
322
  /**
307
323
  * Disallow using `exports` in files containing tests
308
324
  *
309
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-export.md
325
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/no-export.md
310
326
  *
311
327
  * ```md
312
328
  * | key | value |
@@ -321,7 +337,7 @@ declare namespace NoExport {
321
337
  /**
322
338
  * Disallow focused tests
323
339
  *
324
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-focused-tests.md
340
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/no-focused-tests.md
325
341
  *
326
342
  * ```md
327
343
  * | key | value |
@@ -337,7 +353,7 @@ declare namespace NoFocusedTests {
337
353
  /**
338
354
  * Disallow setup and teardown hooks
339
355
  *
340
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-hooks.md
356
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/no-hooks.md
341
357
  *
342
358
  * ```md
343
359
  * | key | value |
@@ -378,7 +394,7 @@ declare namespace NoHooks {
378
394
  /**
379
395
  * Disallow identical titles
380
396
  *
381
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-identical-title.md
397
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/no-identical-title.md
382
398
  *
383
399
  * ```md
384
400
  * | key | value |
@@ -393,7 +409,7 @@ declare namespace NoIdenticalTitle {
393
409
  /**
394
410
  * Disallow string interpolation inside snapshots
395
411
  *
396
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-interpolation-in-snapshots.md
412
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/no-interpolation-in-snapshots.md
397
413
  *
398
414
  * ```md
399
415
  * | key | value |
@@ -408,7 +424,7 @@ declare namespace NoInterpolationInSnapshots {
408
424
  /**
409
425
  * Disallow Jasmine globals
410
426
  *
411
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-jasmine-globals.md
427
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/no-jasmine-globals.md
412
428
  *
413
429
  * ```md
414
430
  * | key | value |
@@ -424,7 +440,7 @@ declare namespace NoJasmineGlobals {
424
440
  /**
425
441
  * Disallow large snapshots
426
442
  *
427
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-large-snapshots.md
443
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/no-large-snapshots.md
428
444
  *
429
445
  * ```md
430
446
  * | key | value |
@@ -470,7 +486,7 @@ declare namespace NoLargeSnapshots {
470
486
  /**
471
487
  * Disallow manually importing from `__mocks__`
472
488
  *
473
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-mocks-import.md
489
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/no-mocks-import.md
474
490
  *
475
491
  * ```md
476
492
  * | key | value |
@@ -485,7 +501,7 @@ declare namespace NoMocksImport {
485
501
  /**
486
502
  * Disallow specific `jest.` methods
487
503
  *
488
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-restricted-jest-methods.md
504
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/no-restricted-jest-methods.md
489
505
  *
490
506
  * ```md
491
507
  * | key | value |
@@ -518,7 +534,7 @@ declare namespace NoRestrictedJestMethods {
518
534
  /**
519
535
  * Disallow specific matchers & modifiers
520
536
  *
521
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-restricted-matchers.md
537
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/no-restricted-matchers.md
522
538
  *
523
539
  * ```md
524
540
  * | key | value |
@@ -551,7 +567,7 @@ declare namespace NoRestrictedMatchers {
551
567
  /**
552
568
  * Disallow using `expect` outside of `it` or `test` blocks
553
569
  *
554
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-standalone-expect.md
570
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/no-standalone-expect.md
555
571
  *
556
572
  * ```md
557
573
  * | key | value |
@@ -589,7 +605,7 @@ declare namespace NoStandaloneExpect {
589
605
  /**
590
606
  * Require using `.only` and `.skip` over `f` and `x`
591
607
  *
592
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-test-prefixes.md
608
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/no-test-prefixes.md
593
609
  *
594
610
  * ```md
595
611
  * | key | value |
@@ -605,7 +621,7 @@ declare namespace NoTestPrefixes {
605
621
  /**
606
622
  * Disallow explicitly returning from tests
607
623
  *
608
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-test-return-statement.md
624
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/no-test-return-statement.md
609
625
  *
610
626
  * ```md
611
627
  * | key | value |
@@ -617,10 +633,26 @@ declare namespace NoTestPrefixes {
617
633
  declare namespace NoTestReturnStatement {
618
634
  type RuleEntry = Linter.StringSeverity;
619
635
  }
636
+ /**
637
+ * Disallow unnecessary assertions based on types
638
+ *
639
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/no-unnecessary-assertion.md
640
+ *
641
+ * ```md
642
+ * | key | value |
643
+ * | :------------------- | :--------- |
644
+ * | type | suggestion |
645
+ * | deprecated | false |
646
+ * | requiresTypeChecking | true |
647
+ * ```
648
+ */
649
+ declare namespace NoUnnecessaryAssertion {
650
+ type RuleEntry = Linter.StringSeverity;
651
+ }
620
652
  /**
621
653
  * Disallow unnecessary async function wrapper for expected promises
622
654
  *
623
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-unneeded-async-expect-function.md
655
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/no-unneeded-async-expect-function.md
624
656
  *
625
657
  * ```md
626
658
  * | key | value |
@@ -636,7 +668,7 @@ declare namespace NoUnneededAsyncExpectFunction {
636
668
  /**
637
669
  * Disallow using `jest.mock()` factories without an explicit type parameter
638
670
  *
639
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-untyped-mock-factory.md
671
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/no-untyped-mock-factory.md
640
672
  *
641
673
  * ```md
642
674
  * | key | value |
@@ -652,7 +684,7 @@ declare namespace NoUntypedMockFactory {
652
684
  /**
653
685
  * Enforce padding around `afterAll` blocks
654
686
  *
655
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/padding-around-after-all-blocks.md
687
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/padding-around-after-all-blocks.md
656
688
  *
657
689
  * ```md
658
690
  * | key | value |
@@ -668,7 +700,7 @@ declare namespace PaddingAroundAfterAllBlocks {
668
700
  /**
669
701
  * Enforce padding around `afterEach` blocks
670
702
  *
671
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/padding-around-after-each-blocks.md
703
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/padding-around-after-each-blocks.md
672
704
  *
673
705
  * ```md
674
706
  * | key | value |
@@ -684,7 +716,7 @@ declare namespace PaddingAroundAfterEachBlocks {
684
716
  /**
685
717
  * Enforce padding around Jest functions
686
718
  *
687
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/padding-around-all.md
719
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/padding-around-all.md
688
720
  *
689
721
  * ```md
690
722
  * | key | value |
@@ -700,7 +732,7 @@ declare namespace PaddingAroundAll {
700
732
  /**
701
733
  * Enforce padding around `beforeAll` blocks
702
734
  *
703
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/padding-around-before-all-blocks.md
735
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/padding-around-before-all-blocks.md
704
736
  *
705
737
  * ```md
706
738
  * | key | value |
@@ -716,7 +748,7 @@ declare namespace PaddingAroundBeforeAllBlocks {
716
748
  /**
717
749
  * Enforce padding around `beforeEach` blocks
718
750
  *
719
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/padding-around-before-each-blocks.md
751
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/padding-around-before-each-blocks.md
720
752
  *
721
753
  * ```md
722
754
  * | key | value |
@@ -732,7 +764,7 @@ declare namespace PaddingAroundBeforeEachBlocks {
732
764
  /**
733
765
  * Enforce padding around `describe` blocks
734
766
  *
735
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/padding-around-describe-blocks.md
767
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/padding-around-describe-blocks.md
736
768
  *
737
769
  * ```md
738
770
  * | key | value |
@@ -748,7 +780,7 @@ declare namespace PaddingAroundDescribeBlocks {
748
780
  /**
749
781
  * Enforce padding around `expect` groups
750
782
  *
751
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/padding-around-expect-groups.md
783
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/padding-around-expect-groups.md
752
784
  *
753
785
  * ```md
754
786
  * | key | value |
@@ -764,7 +796,7 @@ declare namespace PaddingAroundExpectGroups {
764
796
  /**
765
797
  * Enforce padding around `test` and `it` blocks
766
798
  *
767
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/padding-around-test-blocks.md
799
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/padding-around-test-blocks.md
768
800
  *
769
801
  * ```md
770
802
  * | key | value |
@@ -780,7 +812,7 @@ declare namespace PaddingAroundTestBlocks {
780
812
  /**
781
813
  * Suggest using `toHaveBeenCalledWith()`
782
814
  *
783
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-called-with.md
815
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/prefer-called-with.md
784
816
  *
785
817
  * ```md
786
818
  * | key | value |
@@ -795,7 +827,7 @@ declare namespace PreferCalledWith {
795
827
  /**
796
828
  * Suggest using the built-in comparison matchers
797
829
  *
798
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-comparison-matcher.md
830
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/prefer-comparison-matcher.md
799
831
  *
800
832
  * ```md
801
833
  * | key | value |
@@ -811,7 +843,7 @@ declare namespace PreferComparisonMatcher {
811
843
  /**
812
844
  * Prefer using `.each` rather than manual loops
813
845
  *
814
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-each.md
846
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/prefer-each.md
815
847
  *
816
848
  * ```md
817
849
  * | key | value |
@@ -826,7 +858,7 @@ declare namespace PreferEach {
826
858
  /**
827
859
  * Prefer having the last statement in a test be an assertion
828
860
  *
829
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-ending-with-an-expect.md
861
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/prefer-ending-with-an-expect.md
830
862
  *
831
863
  * ```md
832
864
  * | key | value |
@@ -871,7 +903,7 @@ declare namespace PreferEndingWithAnExpect {
871
903
  /**
872
904
  * Suggest using the built-in equality matchers
873
905
  *
874
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-equality-matcher.md
906
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/prefer-equality-matcher.md
875
907
  *
876
908
  * ```md
877
909
  * | key | value |
@@ -887,7 +919,7 @@ declare namespace PreferEqualityMatcher {
887
919
  /**
888
920
  * Suggest using `expect.assertions()` OR `expect.hasAssertions()`
889
921
  *
890
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-expect-assertions.md
922
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/prefer-expect-assertions.md
891
923
  *
892
924
  * ```md
893
925
  * | key | value |
@@ -931,7 +963,7 @@ declare namespace PreferExpectAssertions {
931
963
  /**
932
964
  * Prefer `await expect(...).resolves` over `expect(await ...)` syntax
933
965
  *
934
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-expect-resolves.md
966
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/prefer-expect-resolves.md
935
967
  *
936
968
  * ```md
937
969
  * | key | value |
@@ -947,7 +979,7 @@ declare namespace PreferExpectResolves {
947
979
  /**
948
980
  * Prefer having hooks in a consistent order
949
981
  *
950
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-hooks-in-order.md
982
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/prefer-hooks-in-order.md
951
983
  *
952
984
  * ```md
953
985
  * | key | value |
@@ -962,7 +994,7 @@ declare namespace PreferHooksInOrder {
962
994
  /**
963
995
  * Suggest having hooks before any test cases
964
996
  *
965
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-hooks-on-top.md
997
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/prefer-hooks-on-top.md
966
998
  *
967
999
  * ```md
968
1000
  * | key | value |
@@ -977,7 +1009,7 @@ declare namespace PreferHooksOnTop {
977
1009
  /**
978
1010
  * Prefer importing Jest globals
979
1011
  *
980
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-importing-jest-globals.md
1012
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/prefer-importing-jest-globals.md
981
1013
  *
982
1014
  * ```md
983
1015
  * | key | value |
@@ -1024,7 +1056,7 @@ declare namespace PreferImportingJestGlobals {
1024
1056
  /**
1025
1057
  * Prefer `jest.mocked()` over `fn as jest.Mock`
1026
1058
  *
1027
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-jest-mocked.md
1059
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/prefer-jest-mocked.md
1028
1060
  *
1029
1061
  * ```md
1030
1062
  * | key | value |
@@ -1040,7 +1072,7 @@ declare namespace PreferJestMocked {
1040
1072
  /**
1041
1073
  * Enforce lowercase test names
1042
1074
  *
1043
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-lowercase-title.md
1075
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/prefer-lowercase-title.md
1044
1076
  *
1045
1077
  * ```md
1046
1078
  * | key | value |
@@ -1105,7 +1137,7 @@ declare namespace PreferLowercaseTitle {
1105
1137
  /**
1106
1138
  * Prefer mock resolved/rejected shorthands for promises
1107
1139
  *
1108
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-mock-promise-shorthand.md
1140
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/prefer-mock-promise-shorthand.md
1109
1141
  *
1110
1142
  * ```md
1111
1143
  * | key | value |
@@ -1121,7 +1153,7 @@ declare namespace PreferMockPromiseShorthand {
1121
1153
  /**
1122
1154
  * Prefer including a hint with external snapshots
1123
1155
  *
1124
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-snapshot-hint.md
1156
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/prefer-snapshot-hint.md
1125
1157
  *
1126
1158
  * ```md
1127
1159
  * | key | value |
@@ -1152,7 +1184,7 @@ declare namespace PreferSnapshotHint {
1152
1184
  /**
1153
1185
  * Suggest using `jest.spyOn()`
1154
1186
  *
1155
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-spy-on.md
1187
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/prefer-spy-on.md
1156
1188
  *
1157
1189
  * ```md
1158
1190
  * | key | value |
@@ -1168,7 +1200,7 @@ declare namespace PreferSpyOn {
1168
1200
  /**
1169
1201
  * Suggest using `toStrictEqual()`
1170
1202
  *
1171
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-strict-equal.md
1203
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/prefer-strict-equal.md
1172
1204
  *
1173
1205
  * ```md
1174
1206
  * | key | value |
@@ -1184,7 +1216,7 @@ declare namespace PreferStrictEqual {
1184
1216
  /**
1185
1217
  * Suggest using `toBe()` for primitive literals
1186
1218
  *
1187
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-to-be.md
1219
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/prefer-to-be.md
1188
1220
  *
1189
1221
  * ```md
1190
1222
  * | key | value |
@@ -1200,7 +1232,7 @@ declare namespace PreferToBe {
1200
1232
  /**
1201
1233
  * Suggest using `toContain()`
1202
1234
  *
1203
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-to-contain.md
1235
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/prefer-to-contain.md
1204
1236
  *
1205
1237
  * ```md
1206
1238
  * | key | value |
@@ -1216,7 +1248,7 @@ declare namespace PreferToContain {
1216
1248
  /**
1217
1249
  * Suggest using `toHaveBeenCalledTimes()`
1218
1250
  *
1219
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-to-have-been-called-times.md
1251
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/prefer-to-have-been-called-times.md
1220
1252
  *
1221
1253
  * ```md
1222
1254
  * | key | value |
@@ -1232,7 +1264,7 @@ declare namespace PreferToHaveBeenCalledTimes {
1232
1264
  /**
1233
1265
  * Suggest using `toHaveBeenCalled`
1234
1266
  *
1235
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-to-have-been-called.md
1267
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/prefer-to-have-been-called.md
1236
1268
  *
1237
1269
  * ```md
1238
1270
  * | key | value |
@@ -1248,7 +1280,7 @@ declare namespace PreferToHaveBeenCalled {
1248
1280
  /**
1249
1281
  * Suggest using `toHaveLength()`
1250
1282
  *
1251
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-to-have-length.md
1283
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/prefer-to-have-length.md
1252
1284
  *
1253
1285
  * ```md
1254
1286
  * | key | value |
@@ -1264,7 +1296,7 @@ declare namespace PreferToHaveLength {
1264
1296
  /**
1265
1297
  * Suggest using `test.todo`
1266
1298
  *
1267
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-todo.md
1299
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/prefer-todo.md
1268
1300
  *
1269
1301
  * ```md
1270
1302
  * | key | value |
@@ -1280,7 +1312,7 @@ declare namespace PreferTodo {
1280
1312
  /**
1281
1313
  * Require setup and teardown code to be within a hook
1282
1314
  *
1283
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/require-hook.md
1315
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/require-hook.md
1284
1316
  *
1285
1317
  * ```md
1286
1318
  * | key | value |
@@ -1318,7 +1350,7 @@ declare namespace RequireHook {
1318
1350
  /**
1319
1351
  * Require a message for `toThrow()`
1320
1352
  *
1321
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/require-to-throw-message.md
1353
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/require-to-throw-message.md
1322
1354
  *
1323
1355
  * ```md
1324
1356
  * | key | value |
@@ -1333,7 +1365,7 @@ declare namespace RequireToThrowMessage {
1333
1365
  /**
1334
1366
  * Require test cases and hooks to be inside a `describe` block
1335
1367
  *
1336
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/require-top-level-describe.md
1368
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/require-top-level-describe.md
1337
1369
  *
1338
1370
  * ```md
1339
1371
  * | key | value |
@@ -1369,7 +1401,7 @@ declare namespace RequireTopLevelDescribe {
1369
1401
  /**
1370
1402
  * Enforce unbound methods are called with their expected scope
1371
1403
  *
1372
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/unbound-method.md
1404
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/unbound-method.md
1373
1405
  *
1374
1406
  * ```md
1375
1407
  * | key | value |
@@ -1408,7 +1440,7 @@ declare namespace UnboundMethod {
1408
1440
  /**
1409
1441
  * Enforce valid `describe()` callback
1410
1442
  *
1411
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/valid-describe-callback.md
1443
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/valid-describe-callback.md
1412
1444
  *
1413
1445
  * ```md
1414
1446
  * | key | value |
@@ -1423,7 +1455,7 @@ declare namespace ValidDescribeCallback {
1423
1455
  /**
1424
1456
  * Require promises that have expectations in their chain to be valid
1425
1457
  *
1426
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/valid-expect-in-promise.md
1458
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/valid-expect-in-promise.md
1427
1459
  *
1428
1460
  * ```md
1429
1461
  * | key | value |
@@ -1435,10 +1467,27 @@ declare namespace ValidDescribeCallback {
1435
1467
  declare namespace ValidExpectInPromise {
1436
1468
  type RuleEntry = Linter.StringSeverity;
1437
1469
  }
1470
+ /**
1471
+ * Require that `resolve` and `reject` modifiers are present (and only) for
1472
+ * promise-like types
1473
+ *
1474
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/valid-expect-with-promise.md
1475
+ *
1476
+ * ```md
1477
+ * | key | value |
1478
+ * | :------------------- | :--------- |
1479
+ * | type | suggestion |
1480
+ * | deprecated | false |
1481
+ * | requiresTypeChecking | true |
1482
+ * ```
1483
+ */
1484
+ declare namespace ValidExpectWithPromise {
1485
+ type RuleEntry = Linter.StringSeverity;
1486
+ }
1438
1487
  /**
1439
1488
  * Enforce valid `expect()` usage
1440
1489
  *
1441
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/valid-expect.md
1490
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/valid-expect.md
1442
1491
  *
1443
1492
  * ```md
1444
1493
  * | key | value |
@@ -1493,7 +1542,7 @@ declare namespace ValidExpect {
1493
1542
  /**
1494
1543
  * Disallow mocking of non-existing module paths
1495
1544
  *
1496
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/valid-mock-module-path.md
1545
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/valid-mock-module-path.md
1497
1546
  *
1498
1547
  * ```md
1499
1548
  * | key | value |
@@ -1532,7 +1581,7 @@ declare namespace ValidMockModulePath {
1532
1581
  /**
1533
1582
  * Enforce valid titles
1534
1583
  *
1535
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/valid-title.md
1584
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.10.1/docs/rules/valid-title.md
1536
1585
  *
1537
1586
  * ```md
1538
1587
  * | key | value |
@@ -1654,6 +1703,7 @@ export type EslintJestRules = Readonly<{
1654
1703
  'jest/no-disabled-tests': NoDisabledTests.RuleEntry;
1655
1704
  'jest/no-done-callback': NoDoneCallback.RuleEntry;
1656
1705
  'jest/no-duplicate-hooks': NoDuplicateHooks.RuleEntry;
1706
+ 'jest/no-error-equal': NoErrorEqual.RuleEntry;
1657
1707
  'jest/no-export': NoExport.RuleEntry;
1658
1708
  'jest/no-focused-tests': NoFocusedTests.RuleEntry;
1659
1709
  'jest/no-hooks': NoHooks.RuleEntry;
@@ -1667,6 +1717,7 @@ export type EslintJestRules = Readonly<{
1667
1717
  'jest/no-standalone-expect': NoStandaloneExpect.RuleEntry;
1668
1718
  'jest/no-test-prefixes': NoTestPrefixes.RuleEntry;
1669
1719
  'jest/no-test-return-statement': NoTestReturnStatement.RuleEntry;
1720
+ 'jest/no-unnecessary-assertion': NoUnnecessaryAssertion.RuleEntry;
1670
1721
  'jest/no-unneeded-async-expect-function': NoUnneededAsyncExpectFunction.RuleEntry;
1671
1722
  'jest/no-untyped-mock-factory': NoUntypedMockFactory.RuleEntry;
1672
1723
  'jest/padding-around-after-all-blocks': PaddingAroundAfterAllBlocks.RuleEntry;
@@ -1705,6 +1756,7 @@ export type EslintJestRules = Readonly<{
1705
1756
  'jest/unbound-method': UnboundMethod.RuleEntry;
1706
1757
  'jest/valid-describe-callback': ValidDescribeCallback.RuleEntry;
1707
1758
  'jest/valid-expect-in-promise': ValidExpectInPromise.RuleEntry;
1759
+ 'jest/valid-expect-with-promise': ValidExpectWithPromise.RuleEntry;
1708
1760
  'jest/valid-expect': ValidExpect.RuleEntry;
1709
1761
  'jest/valid-mock-module-path': ValidMockModulePath.RuleEntry;
1710
1762
  'jest/valid-title': ValidTitle.RuleEntry;