eslint-config-typed 4.0.9 → 4.2.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/configs/plugins.d.mts +1 -1
- package/dist/configs/plugins.d.mts.map +1 -1
- package/dist/configs/plugins.mjs +2 -0
- package/dist/configs/plugins.mjs.map +1 -1
- package/dist/configs/typescript.d.mts.map +1 -1
- package/dist/configs/typescript.mjs +2 -0
- package/dist/configs/typescript.mjs.map +1 -1
- package/dist/entry-point.mjs +2 -0
- package/dist/entry-point.mjs.map +1 -1
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -1
- package/dist/plugins/immer-coding-style/index.d.mts +2 -0
- package/dist/plugins/immer-coding-style/index.d.mts.map +1 -0
- package/dist/plugins/immer-coding-style/index.mjs +2 -0
- package/dist/plugins/immer-coding-style/index.mjs.map +1 -0
- package/dist/plugins/immer-coding-style/plugin.d.mts +3 -0
- package/dist/plugins/immer-coding-style/plugin.d.mts.map +1 -0
- package/dist/plugins/immer-coding-style/plugin.mjs +8 -0
- package/dist/plugins/immer-coding-style/plugin.mjs.map +1 -0
- package/dist/plugins/immer-coding-style/rules/index.d.mts +2 -0
- package/dist/plugins/immer-coding-style/rules/index.d.mts.map +1 -0
- package/dist/plugins/immer-coding-style/rules/index.mjs +2 -0
- package/dist/plugins/immer-coding-style/rules/index.mjs.map +1 -0
- package/dist/plugins/immer-coding-style/rules/prefer-curried-produce.d.mts +5 -0
- package/dist/plugins/immer-coding-style/rules/prefer-curried-produce.d.mts.map +1 -0
- package/dist/plugins/immer-coding-style/rules/prefer-curried-produce.mjs +158 -0
- package/dist/plugins/immer-coding-style/rules/prefer-curried-produce.mjs.map +1 -0
- package/dist/plugins/immer-coding-style/rules/rules.d.mts +4 -0
- package/dist/plugins/immer-coding-style/rules/rules.d.mts.map +1 -0
- package/dist/plugins/immer-coding-style/rules/rules.mjs +8 -0
- package/dist/plugins/immer-coding-style/rules/rules.mjs.map +1 -0
- package/dist/plugins/index.d.mts +1 -0
- package/dist/plugins/index.d.mts.map +1 -1
- package/dist/plugins/index.mjs +1 -0
- package/dist/plugins/index.mjs.map +1 -1
- package/dist/rules/eslint-immer-coding-style-rules.d.mts +4 -0
- package/dist/rules/eslint-immer-coding-style-rules.d.mts.map +1 -0
- package/dist/rules/eslint-immer-coding-style-rules.mjs +6 -0
- package/dist/rules/eslint-immer-coding-style-rules.mjs.map +1 -0
- package/dist/rules/eslint-jest-rules.d.mts +3 -0
- package/dist/rules/eslint-jest-rules.d.mts.map +1 -1
- package/dist/rules/eslint-jest-rules.mjs +3 -0
- package/dist/rules/eslint-jest-rules.mjs.map +1 -1
- package/dist/rules/eslint-testing-library-rules.d.mts +1 -0
- package/dist/rules/eslint-testing-library-rules.d.mts.map +1 -1
- package/dist/rules/eslint-testing-library-rules.mjs +1 -0
- package/dist/rules/eslint-testing-library-rules.mjs.map +1 -1
- package/dist/rules/eslint-vitest-rules.d.mts +1 -0
- package/dist/rules/eslint-vitest-rules.d.mts.map +1 -1
- package/dist/rules/eslint-vitest-rules.mjs +1 -0
- package/dist/rules/eslint-vitest-rules.mjs.map +1 -1
- package/dist/rules/index.d.mts +1 -0
- package/dist/rules/index.d.mts.map +1 -1
- package/dist/rules/index.mjs +1 -0
- package/dist/rules/index.mjs.map +1 -1
- package/dist/rules/typescript-eslint-rules.d.mts +1 -0
- package/dist/rules/typescript-eslint-rules.d.mts.map +1 -1
- package/dist/rules/typescript-eslint-rules.mjs +1 -0
- package/dist/rules/typescript-eslint-rules.mjs.map +1 -1
- package/dist/types/define-known-rules.d.mts +2 -2
- package/dist/types/define-known-rules.d.mts.map +1 -1
- package/dist/types/define-known-rules.mjs.map +1 -1
- package/dist/types/rules/eslint-immer-coding-style-rules.d.mts +20 -0
- package/dist/types/rules/eslint-immer-coding-style-rules.d.mts.map +1 -0
- package/dist/types/rules/eslint-immer-coding-style-rules.mjs +2 -0
- package/dist/types/rules/eslint-immer-coding-style-rules.mjs.map +1 -0
- package/dist/types/rules/eslint-jest-rules.d.mts +116 -65
- package/dist/types/rules/eslint-jest-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-testing-library-rules.d.mts +16 -0
- package/dist/types/rules/eslint-testing-library-rules.d.mts.map +1 -1
- package/dist/types/rules/eslint-vitest-rules.d.mts +17 -0
- package/dist/types/rules/eslint-vitest-rules.d.mts.map +1 -1
- package/dist/types/rules/index.d.mts +1 -0
- package/dist/types/rules/index.d.mts.map +1 -1
- package/dist/types/rules/typescript-eslint-rules.d.mts +19 -0
- package/dist/types/rules/typescript-eslint-rules.d.mts.map +1 -1
- package/package.json +24 -23
- package/src/configs/plugins.mts +3 -0
- package/src/configs/typescript.mts +2 -0
- package/src/plugins/immer-coding-style/index.mts +1 -0
- package/src/plugins/immer-coding-style/plugin.mts +6 -0
- package/src/plugins/immer-coding-style/rules/index.mts +1 -0
- package/src/plugins/immer-coding-style/rules/prefer-curried-produce.mts +293 -0
- package/src/plugins/immer-coding-style/rules/prefer-curried-produce.test.mts +124 -0
- package/src/plugins/immer-coding-style/rules/rules.mts +6 -0
- package/src/plugins/index.mts +1 -0
- package/src/rules/eslint-immer-coding-style-rules.mts +5 -0
- package/src/rules/eslint-jest-rules.mts +3 -0
- package/src/rules/eslint-testing-library-rules.mts +1 -0
- package/src/rules/eslint-vitest-rules.mts +1 -0
- package/src/rules/index.mts +1 -0
- package/src/rules/typescript-eslint-rules.mts +1 -0
- package/src/types/define-known-rules.mts +2 -0
- package/src/types/rules/eslint-immer-coding-style-rules.mts +21 -0
- package/src/types/rules/eslint-jest-rules.mts +119 -65
- package/src/types/rules/eslint-testing-library-rules.mts +17 -0
- package/src/types/rules/eslint-vitest-rules.mts +18 -0
- package/src/types/rules/index.mts +1 -0
- package/src/types/rules/typescript-eslint-rules.mts +20 -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.
|
|
6
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/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.
|
|
54
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/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.
|
|
99
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/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.
|
|
135
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/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.
|
|
171
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/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.
|
|
187
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/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.
|
|
202
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/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.
|
|
217
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/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.
|
|
232
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/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.
|
|
247
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/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.
|
|
263
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/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.
|
|
278
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/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.
|
|
294
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-duplicate-hooks.md
|
|
295
295
|
*
|
|
296
296
|
* ```md
|
|
297
297
|
* | key | value |
|
|
@@ -306,7 +306,7 @@ declare namespace NoDuplicateHooks {
|
|
|
306
306
|
/**
|
|
307
307
|
* Disallow using `exports` in files containing tests
|
|
308
308
|
*
|
|
309
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
309
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-export.md
|
|
310
310
|
*
|
|
311
311
|
* ```md
|
|
312
312
|
* | key | value |
|
|
@@ -321,7 +321,7 @@ declare namespace NoExport {
|
|
|
321
321
|
/**
|
|
322
322
|
* Disallow focused tests
|
|
323
323
|
*
|
|
324
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
324
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-focused-tests.md
|
|
325
325
|
*
|
|
326
326
|
* ```md
|
|
327
327
|
* | key | value |
|
|
@@ -337,7 +337,7 @@ declare namespace NoFocusedTests {
|
|
|
337
337
|
/**
|
|
338
338
|
* Disallow setup and teardown hooks
|
|
339
339
|
*
|
|
340
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
340
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-hooks.md
|
|
341
341
|
*
|
|
342
342
|
* ```md
|
|
343
343
|
* | key | value |
|
|
@@ -378,7 +378,7 @@ declare namespace NoHooks {
|
|
|
378
378
|
/**
|
|
379
379
|
* Disallow identical titles
|
|
380
380
|
*
|
|
381
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
381
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-identical-title.md
|
|
382
382
|
*
|
|
383
383
|
* ```md
|
|
384
384
|
* | key | value |
|
|
@@ -393,7 +393,7 @@ declare namespace NoIdenticalTitle {
|
|
|
393
393
|
/**
|
|
394
394
|
* Disallow string interpolation inside snapshots
|
|
395
395
|
*
|
|
396
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
396
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-interpolation-in-snapshots.md
|
|
397
397
|
*
|
|
398
398
|
* ```md
|
|
399
399
|
* | key | value |
|
|
@@ -408,7 +408,7 @@ declare namespace NoInterpolationInSnapshots {
|
|
|
408
408
|
/**
|
|
409
409
|
* Disallow Jasmine globals
|
|
410
410
|
*
|
|
411
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
411
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-jasmine-globals.md
|
|
412
412
|
*
|
|
413
413
|
* ```md
|
|
414
414
|
* | key | value |
|
|
@@ -424,7 +424,7 @@ declare namespace NoJasmineGlobals {
|
|
|
424
424
|
/**
|
|
425
425
|
* Disallow large snapshots
|
|
426
426
|
*
|
|
427
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
427
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-large-snapshots.md
|
|
428
428
|
*
|
|
429
429
|
* ```md
|
|
430
430
|
* | key | value |
|
|
@@ -470,7 +470,7 @@ declare namespace NoLargeSnapshots {
|
|
|
470
470
|
/**
|
|
471
471
|
* Disallow manually importing from `__mocks__`
|
|
472
472
|
*
|
|
473
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
473
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-mocks-import.md
|
|
474
474
|
*
|
|
475
475
|
* ```md
|
|
476
476
|
* | key | value |
|
|
@@ -485,7 +485,7 @@ declare namespace NoMocksImport {
|
|
|
485
485
|
/**
|
|
486
486
|
* Disallow specific `jest.` methods
|
|
487
487
|
*
|
|
488
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
488
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-restricted-jest-methods.md
|
|
489
489
|
*
|
|
490
490
|
* ```md
|
|
491
491
|
* | key | value |
|
|
@@ -518,7 +518,7 @@ declare namespace NoRestrictedJestMethods {
|
|
|
518
518
|
/**
|
|
519
519
|
* Disallow specific matchers & modifiers
|
|
520
520
|
*
|
|
521
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
521
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-restricted-matchers.md
|
|
522
522
|
*
|
|
523
523
|
* ```md
|
|
524
524
|
* | key | value |
|
|
@@ -551,7 +551,7 @@ declare namespace NoRestrictedMatchers {
|
|
|
551
551
|
/**
|
|
552
552
|
* Disallow using `expect` outside of `it` or `test` blocks
|
|
553
553
|
*
|
|
554
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
554
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-standalone-expect.md
|
|
555
555
|
*
|
|
556
556
|
* ```md
|
|
557
557
|
* | key | value |
|
|
@@ -589,7 +589,7 @@ declare namespace NoStandaloneExpect {
|
|
|
589
589
|
/**
|
|
590
590
|
* Require using `.only` and `.skip` over `f` and `x`
|
|
591
591
|
*
|
|
592
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
592
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-test-prefixes.md
|
|
593
593
|
*
|
|
594
594
|
* ```md
|
|
595
595
|
* | key | value |
|
|
@@ -605,7 +605,7 @@ declare namespace NoTestPrefixes {
|
|
|
605
605
|
/**
|
|
606
606
|
* Disallow explicitly returning from tests
|
|
607
607
|
*
|
|
608
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
608
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-test-return-statement.md
|
|
609
609
|
*
|
|
610
610
|
* ```md
|
|
611
611
|
* | key | value |
|
|
@@ -617,10 +617,26 @@ declare namespace NoTestPrefixes {
|
|
|
617
617
|
declare namespace NoTestReturnStatement {
|
|
618
618
|
type RuleEntry = Linter.StringSeverity;
|
|
619
619
|
}
|
|
620
|
+
/**
|
|
621
|
+
* Disallow unnecessary async function wrapper for expected promises
|
|
622
|
+
*
|
|
623
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-unneeded-async-expect-function.md
|
|
624
|
+
*
|
|
625
|
+
* ```md
|
|
626
|
+
* | key | value |
|
|
627
|
+
* | :--------- | :--------- |
|
|
628
|
+
* | type | suggestion |
|
|
629
|
+
* | deprecated | false |
|
|
630
|
+
* | fixable | code |
|
|
631
|
+
* ```
|
|
632
|
+
*/
|
|
633
|
+
declare namespace NoUnneededAsyncExpectFunction {
|
|
634
|
+
type RuleEntry = Linter.StringSeverity;
|
|
635
|
+
}
|
|
620
636
|
/**
|
|
621
637
|
* Disallow using `jest.mock()` factories without an explicit type parameter
|
|
622
638
|
*
|
|
623
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
639
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/no-untyped-mock-factory.md
|
|
624
640
|
*
|
|
625
641
|
* ```md
|
|
626
642
|
* | key | value |
|
|
@@ -636,7 +652,7 @@ declare namespace NoUntypedMockFactory {
|
|
|
636
652
|
/**
|
|
637
653
|
* Enforce padding around `afterAll` blocks
|
|
638
654
|
*
|
|
639
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
655
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/padding-around-after-all-blocks.md
|
|
640
656
|
*
|
|
641
657
|
* ```md
|
|
642
658
|
* | key | value |
|
|
@@ -652,7 +668,7 @@ declare namespace PaddingAroundAfterAllBlocks {
|
|
|
652
668
|
/**
|
|
653
669
|
* Enforce padding around `afterEach` blocks
|
|
654
670
|
*
|
|
655
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
671
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/padding-around-after-each-blocks.md
|
|
656
672
|
*
|
|
657
673
|
* ```md
|
|
658
674
|
* | key | value |
|
|
@@ -668,7 +684,7 @@ declare namespace PaddingAroundAfterEachBlocks {
|
|
|
668
684
|
/**
|
|
669
685
|
* Enforce padding around Jest functions
|
|
670
686
|
*
|
|
671
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
687
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/padding-around-all.md
|
|
672
688
|
*
|
|
673
689
|
* ```md
|
|
674
690
|
* | key | value |
|
|
@@ -684,7 +700,7 @@ declare namespace PaddingAroundAll {
|
|
|
684
700
|
/**
|
|
685
701
|
* Enforce padding around `beforeAll` blocks
|
|
686
702
|
*
|
|
687
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
703
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/padding-around-before-all-blocks.md
|
|
688
704
|
*
|
|
689
705
|
* ```md
|
|
690
706
|
* | key | value |
|
|
@@ -700,7 +716,7 @@ declare namespace PaddingAroundBeforeAllBlocks {
|
|
|
700
716
|
/**
|
|
701
717
|
* Enforce padding around `beforeEach` blocks
|
|
702
718
|
*
|
|
703
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
719
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/padding-around-before-each-blocks.md
|
|
704
720
|
*
|
|
705
721
|
* ```md
|
|
706
722
|
* | key | value |
|
|
@@ -716,7 +732,7 @@ declare namespace PaddingAroundBeforeEachBlocks {
|
|
|
716
732
|
/**
|
|
717
733
|
* Enforce padding around `describe` blocks
|
|
718
734
|
*
|
|
719
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
735
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/padding-around-describe-blocks.md
|
|
720
736
|
*
|
|
721
737
|
* ```md
|
|
722
738
|
* | key | value |
|
|
@@ -732,7 +748,7 @@ declare namespace PaddingAroundDescribeBlocks {
|
|
|
732
748
|
/**
|
|
733
749
|
* Enforce padding around `expect` groups
|
|
734
750
|
*
|
|
735
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
751
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/padding-around-expect-groups.md
|
|
736
752
|
*
|
|
737
753
|
* ```md
|
|
738
754
|
* | key | value |
|
|
@@ -748,7 +764,7 @@ declare namespace PaddingAroundExpectGroups {
|
|
|
748
764
|
/**
|
|
749
765
|
* Enforce padding around `test` and `it` blocks
|
|
750
766
|
*
|
|
751
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
767
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/padding-around-test-blocks.md
|
|
752
768
|
*
|
|
753
769
|
* ```md
|
|
754
770
|
* | key | value |
|
|
@@ -762,9 +778,9 @@ declare namespace PaddingAroundTestBlocks {
|
|
|
762
778
|
type RuleEntry = Linter.StringSeverity;
|
|
763
779
|
}
|
|
764
780
|
/**
|
|
765
|
-
* Suggest using `
|
|
781
|
+
* Suggest using `toHaveBeenCalledWith()`
|
|
766
782
|
*
|
|
767
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
783
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-called-with.md
|
|
768
784
|
*
|
|
769
785
|
* ```md
|
|
770
786
|
* | key | value |
|
|
@@ -779,7 +795,7 @@ declare namespace PreferCalledWith {
|
|
|
779
795
|
/**
|
|
780
796
|
* Suggest using the built-in comparison matchers
|
|
781
797
|
*
|
|
782
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
798
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-comparison-matcher.md
|
|
783
799
|
*
|
|
784
800
|
* ```md
|
|
785
801
|
* | key | value |
|
|
@@ -795,7 +811,7 @@ declare namespace PreferComparisonMatcher {
|
|
|
795
811
|
/**
|
|
796
812
|
* Prefer using `.each` rather than manual loops
|
|
797
813
|
*
|
|
798
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
814
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-each.md
|
|
799
815
|
*
|
|
800
816
|
* ```md
|
|
801
817
|
* | key | value |
|
|
@@ -810,7 +826,7 @@ declare namespace PreferEach {
|
|
|
810
826
|
/**
|
|
811
827
|
* Prefer having the last statement in a test be an assertion
|
|
812
828
|
*
|
|
813
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
829
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-ending-with-an-expect.md
|
|
814
830
|
*
|
|
815
831
|
* ```md
|
|
816
832
|
* | key | value |
|
|
@@ -855,7 +871,7 @@ declare namespace PreferEndingWithAnExpect {
|
|
|
855
871
|
/**
|
|
856
872
|
* Suggest using the built-in equality matchers
|
|
857
873
|
*
|
|
858
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
874
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-equality-matcher.md
|
|
859
875
|
*
|
|
860
876
|
* ```md
|
|
861
877
|
* | key | value |
|
|
@@ -871,7 +887,7 @@ declare namespace PreferEqualityMatcher {
|
|
|
871
887
|
/**
|
|
872
888
|
* Suggest using `expect.assertions()` OR `expect.hasAssertions()`
|
|
873
889
|
*
|
|
874
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
890
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-expect-assertions.md
|
|
875
891
|
*
|
|
876
892
|
* ```md
|
|
877
893
|
* | key | value |
|
|
@@ -915,7 +931,7 @@ declare namespace PreferExpectAssertions {
|
|
|
915
931
|
/**
|
|
916
932
|
* Prefer `await expect(...).resolves` over `expect(await ...)` syntax
|
|
917
933
|
*
|
|
918
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
934
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-expect-resolves.md
|
|
919
935
|
*
|
|
920
936
|
* ```md
|
|
921
937
|
* | key | value |
|
|
@@ -931,7 +947,7 @@ declare namespace PreferExpectResolves {
|
|
|
931
947
|
/**
|
|
932
948
|
* Prefer having hooks in a consistent order
|
|
933
949
|
*
|
|
934
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
950
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-hooks-in-order.md
|
|
935
951
|
*
|
|
936
952
|
* ```md
|
|
937
953
|
* | key | value |
|
|
@@ -946,7 +962,7 @@ declare namespace PreferHooksInOrder {
|
|
|
946
962
|
/**
|
|
947
963
|
* Suggest having hooks before any test cases
|
|
948
964
|
*
|
|
949
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
965
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-hooks-on-top.md
|
|
950
966
|
*
|
|
951
967
|
* ```md
|
|
952
968
|
* | key | value |
|
|
@@ -961,7 +977,7 @@ declare namespace PreferHooksOnTop {
|
|
|
961
977
|
/**
|
|
962
978
|
* Prefer importing Jest globals
|
|
963
979
|
*
|
|
964
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
980
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-importing-jest-globals.md
|
|
965
981
|
*
|
|
966
982
|
* ```md
|
|
967
983
|
* | key | value |
|
|
@@ -1008,7 +1024,7 @@ declare namespace PreferImportingJestGlobals {
|
|
|
1008
1024
|
/**
|
|
1009
1025
|
* Prefer `jest.mocked()` over `fn as jest.Mock`
|
|
1010
1026
|
*
|
|
1011
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
1027
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-jest-mocked.md
|
|
1012
1028
|
*
|
|
1013
1029
|
* ```md
|
|
1014
1030
|
* | key | value |
|
|
@@ -1024,7 +1040,7 @@ declare namespace PreferJestMocked {
|
|
|
1024
1040
|
/**
|
|
1025
1041
|
* Enforce lowercase test names
|
|
1026
1042
|
*
|
|
1027
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
1043
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-lowercase-title.md
|
|
1028
1044
|
*
|
|
1029
1045
|
* ```md
|
|
1030
1046
|
* | key | value |
|
|
@@ -1089,7 +1105,7 @@ declare namespace PreferLowercaseTitle {
|
|
|
1089
1105
|
/**
|
|
1090
1106
|
* Prefer mock resolved/rejected shorthands for promises
|
|
1091
1107
|
*
|
|
1092
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
1108
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-mock-promise-shorthand.md
|
|
1093
1109
|
*
|
|
1094
1110
|
* ```md
|
|
1095
1111
|
* | key | value |
|
|
@@ -1105,7 +1121,7 @@ declare namespace PreferMockPromiseShorthand {
|
|
|
1105
1121
|
/**
|
|
1106
1122
|
* Prefer including a hint with external snapshots
|
|
1107
1123
|
*
|
|
1108
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
1124
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-snapshot-hint.md
|
|
1109
1125
|
*
|
|
1110
1126
|
* ```md
|
|
1111
1127
|
* | key | value |
|
|
@@ -1136,7 +1152,7 @@ declare namespace PreferSnapshotHint {
|
|
|
1136
1152
|
/**
|
|
1137
1153
|
* Suggest using `jest.spyOn()`
|
|
1138
1154
|
*
|
|
1139
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
1155
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-spy-on.md
|
|
1140
1156
|
*
|
|
1141
1157
|
* ```md
|
|
1142
1158
|
* | key | value |
|
|
@@ -1152,7 +1168,7 @@ declare namespace PreferSpyOn {
|
|
|
1152
1168
|
/**
|
|
1153
1169
|
* Suggest using `toStrictEqual()`
|
|
1154
1170
|
*
|
|
1155
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
1171
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-strict-equal.md
|
|
1156
1172
|
*
|
|
1157
1173
|
* ```md
|
|
1158
1174
|
* | key | value |
|
|
@@ -1168,7 +1184,7 @@ declare namespace PreferStrictEqual {
|
|
|
1168
1184
|
/**
|
|
1169
1185
|
* Suggest using `toBe()` for primitive literals
|
|
1170
1186
|
*
|
|
1171
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
1187
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-to-be.md
|
|
1172
1188
|
*
|
|
1173
1189
|
* ```md
|
|
1174
1190
|
* | key | value |
|
|
@@ -1184,7 +1200,7 @@ declare namespace PreferToBe {
|
|
|
1184
1200
|
/**
|
|
1185
1201
|
* Suggest using `toContain()`
|
|
1186
1202
|
*
|
|
1187
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
1203
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-to-contain.md
|
|
1188
1204
|
*
|
|
1189
1205
|
* ```md
|
|
1190
1206
|
* | key | value |
|
|
@@ -1197,10 +1213,42 @@ declare namespace PreferToBe {
|
|
|
1197
1213
|
declare namespace PreferToContain {
|
|
1198
1214
|
type RuleEntry = Linter.StringSeverity;
|
|
1199
1215
|
}
|
|
1216
|
+
/**
|
|
1217
|
+
* Suggest using `toHaveBeenCalledTimes()`
|
|
1218
|
+
*
|
|
1219
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-to-have-been-called-times.md
|
|
1220
|
+
*
|
|
1221
|
+
* ```md
|
|
1222
|
+
* | key | value |
|
|
1223
|
+
* | :--------- | :--------- |
|
|
1224
|
+
* | type | suggestion |
|
|
1225
|
+
* | deprecated | false |
|
|
1226
|
+
* | fixable | code |
|
|
1227
|
+
* ```
|
|
1228
|
+
*/
|
|
1229
|
+
declare namespace PreferToHaveBeenCalledTimes {
|
|
1230
|
+
type RuleEntry = Linter.StringSeverity;
|
|
1231
|
+
}
|
|
1232
|
+
/**
|
|
1233
|
+
* Suggest using `toHaveBeenCalled`
|
|
1234
|
+
*
|
|
1235
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-to-have-been-called.md
|
|
1236
|
+
*
|
|
1237
|
+
* ```md
|
|
1238
|
+
* | key | value |
|
|
1239
|
+
* | :--------- | :--------- |
|
|
1240
|
+
* | type | suggestion |
|
|
1241
|
+
* | deprecated | false |
|
|
1242
|
+
* | fixable | code |
|
|
1243
|
+
* ```
|
|
1244
|
+
*/
|
|
1245
|
+
declare namespace PreferToHaveBeenCalled {
|
|
1246
|
+
type RuleEntry = Linter.StringSeverity;
|
|
1247
|
+
}
|
|
1200
1248
|
/**
|
|
1201
1249
|
* Suggest using `toHaveLength()`
|
|
1202
1250
|
*
|
|
1203
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
1251
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-to-have-length.md
|
|
1204
1252
|
*
|
|
1205
1253
|
* ```md
|
|
1206
1254
|
* | key | value |
|
|
@@ -1216,7 +1264,7 @@ declare namespace PreferToHaveLength {
|
|
|
1216
1264
|
/**
|
|
1217
1265
|
* Suggest using `test.todo`
|
|
1218
1266
|
*
|
|
1219
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
1267
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/prefer-todo.md
|
|
1220
1268
|
*
|
|
1221
1269
|
* ```md
|
|
1222
1270
|
* | key | value |
|
|
@@ -1232,7 +1280,7 @@ declare namespace PreferTodo {
|
|
|
1232
1280
|
/**
|
|
1233
1281
|
* Require setup and teardown code to be within a hook
|
|
1234
1282
|
*
|
|
1235
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
1283
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/require-hook.md
|
|
1236
1284
|
*
|
|
1237
1285
|
* ```md
|
|
1238
1286
|
* | key | value |
|
|
@@ -1270,7 +1318,7 @@ declare namespace RequireHook {
|
|
|
1270
1318
|
/**
|
|
1271
1319
|
* Require a message for `toThrow()`
|
|
1272
1320
|
*
|
|
1273
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
1321
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/require-to-throw-message.md
|
|
1274
1322
|
*
|
|
1275
1323
|
* ```md
|
|
1276
1324
|
* | key | value |
|
|
@@ -1285,7 +1333,7 @@ declare namespace RequireToThrowMessage {
|
|
|
1285
1333
|
/**
|
|
1286
1334
|
* Require test cases and hooks to be inside a `describe` block
|
|
1287
1335
|
*
|
|
1288
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
1336
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/require-top-level-describe.md
|
|
1289
1337
|
*
|
|
1290
1338
|
* ```md
|
|
1291
1339
|
* | key | value |
|
|
@@ -1321,7 +1369,7 @@ declare namespace RequireTopLevelDescribe {
|
|
|
1321
1369
|
/**
|
|
1322
1370
|
* Enforce unbound methods are called with their expected scope
|
|
1323
1371
|
*
|
|
1324
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
1372
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/unbound-method.md
|
|
1325
1373
|
*
|
|
1326
1374
|
* ```md
|
|
1327
1375
|
* | key | value |
|
|
@@ -1360,7 +1408,7 @@ declare namespace UnboundMethod {
|
|
|
1360
1408
|
/**
|
|
1361
1409
|
* Enforce valid `describe()` callback
|
|
1362
1410
|
*
|
|
1363
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
1411
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/valid-describe-callback.md
|
|
1364
1412
|
*
|
|
1365
1413
|
* ```md
|
|
1366
1414
|
* | key | value |
|
|
@@ -1375,7 +1423,7 @@ declare namespace ValidDescribeCallback {
|
|
|
1375
1423
|
/**
|
|
1376
1424
|
* Require promises that have expectations in their chain to be valid
|
|
1377
1425
|
*
|
|
1378
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
1426
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/valid-expect-in-promise.md
|
|
1379
1427
|
*
|
|
1380
1428
|
* ```md
|
|
1381
1429
|
* | key | value |
|
|
@@ -1390,7 +1438,7 @@ declare namespace ValidExpectInPromise {
|
|
|
1390
1438
|
/**
|
|
1391
1439
|
* Enforce valid `expect()` usage
|
|
1392
1440
|
*
|
|
1393
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
1441
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/valid-expect.md
|
|
1394
1442
|
*
|
|
1395
1443
|
* ```md
|
|
1396
1444
|
* | key | value |
|
|
@@ -1445,7 +1493,7 @@ declare namespace ValidExpect {
|
|
|
1445
1493
|
/**
|
|
1446
1494
|
* Disallow mocking of non-existing module paths
|
|
1447
1495
|
*
|
|
1448
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
1496
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/valid-mock-module-path.md
|
|
1449
1497
|
*
|
|
1450
1498
|
* ```md
|
|
1451
1499
|
* | key | value |
|
|
@@ -1484,7 +1532,7 @@ declare namespace ValidMockModulePath {
|
|
|
1484
1532
|
/**
|
|
1485
1533
|
* Enforce valid titles
|
|
1486
1534
|
*
|
|
1487
|
-
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.
|
|
1535
|
+
* @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.5.0/docs/rules/valid-title.md
|
|
1488
1536
|
*
|
|
1489
1537
|
* ```md
|
|
1490
1538
|
* | key | value |
|
|
@@ -1619,6 +1667,7 @@ export type EslintJestRules = Readonly<{
|
|
|
1619
1667
|
'jest/no-standalone-expect': NoStandaloneExpect.RuleEntry;
|
|
1620
1668
|
'jest/no-test-prefixes': NoTestPrefixes.RuleEntry;
|
|
1621
1669
|
'jest/no-test-return-statement': NoTestReturnStatement.RuleEntry;
|
|
1670
|
+
'jest/no-unneeded-async-expect-function': NoUnneededAsyncExpectFunction.RuleEntry;
|
|
1622
1671
|
'jest/no-untyped-mock-factory': NoUntypedMockFactory.RuleEntry;
|
|
1623
1672
|
'jest/padding-around-after-all-blocks': PaddingAroundAfterAllBlocks.RuleEntry;
|
|
1624
1673
|
'jest/padding-around-after-each-blocks': PaddingAroundAfterEachBlocks.RuleEntry;
|
|
@@ -1646,6 +1695,8 @@ export type EslintJestRules = Readonly<{
|
|
|
1646
1695
|
'jest/prefer-strict-equal': PreferStrictEqual.RuleEntry;
|
|
1647
1696
|
'jest/prefer-to-be': PreferToBe.RuleEntry;
|
|
1648
1697
|
'jest/prefer-to-contain': PreferToContain.RuleEntry;
|
|
1698
|
+
'jest/prefer-to-have-been-called-times': PreferToHaveBeenCalledTimes.RuleEntry;
|
|
1699
|
+
'jest/prefer-to-have-been-called': PreferToHaveBeenCalled.RuleEntry;
|
|
1649
1700
|
'jest/prefer-to-have-length': PreferToHaveLength.RuleEntry;
|
|
1650
1701
|
'jest/prefer-todo': PreferTodo.RuleEntry;
|
|
1651
1702
|
'jest/require-hook': RequireHook.RuleEntry;
|