eslint-config-typed 5.9.2 → 5.9.3

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.
@@ -34,9 +34,11 @@ export declare const eslintNRules: {
34
34
  readonly 'n/prefer-global/text-encoder': "off";
35
35
  readonly 'n/prefer-global/url-search-params': "off";
36
36
  readonly 'n/prefer-global/url': "off";
37
+ readonly 'n/prefer-import/assert-strict': "error";
37
38
  readonly 'n/prefer-node-protocol': readonly ["error", {
38
39
  readonly version: ">=18.0.0";
39
40
  }];
41
+ readonly 'n/prefer-process-get-builtin-module': "off";
40
42
  readonly 'n/prefer-promises/dns': "off";
41
43
  readonly 'n/prefer-promises/fs': "off";
42
44
  readonly 'n/process-exit-as-throw': "off";
@@ -1 +1 @@
1
- {"version":3,"file":"eslint-n-rules.d.mts","sourceRoot":"","sources":["../../src/rules/eslint-n-rules.mts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8CQ,CAAC"}
1
+ {"version":3,"file":"eslint-n-rules.d.mts","sourceRoot":"","sources":["../../src/rules/eslint-n-rules.mts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoDQ,CAAC"}
@@ -36,7 +36,13 @@ const eslintNRules = {
36
36
  'n/prefer-global/text-encoder': 'off',
37
37
  'n/prefer-global/url-search-params': 'off',
38
38
  'n/prefer-global/url': 'off',
39
+ // Nothing here imports `node:assert`, and the strict entry point is the
40
+ // one worth landing on, so this costs nothing to keep on.
41
+ 'n/prefer-import/assert-strict': 'error',
39
42
  'n/prefer-node-protocol': ['error', { version: '>=18.0.0' }],
43
+ // `process.getBuiltinModule()` only earns its keep where a builtin may be
44
+ // absent at runtime; the convention here is a static `node:` import.
45
+ 'n/prefer-process-get-builtin-module': 'off',
40
46
  'n/prefer-promises/dns': 'off',
41
47
  'n/prefer-promises/fs': 'off',
42
48
  'n/process-exit-as-throw': 'off',
@@ -1 +1 @@
1
- {"version":3,"file":"eslint-n-rules.mjs","sources":["../../src/rules/eslint-n-rules.mts"],"sourcesContent":[null],"names":[],"mappings":";;AAEO,MAAM,YAAY,GAAG;AAC1B,IAAA,mBAAmB,EAAE,KAAK;AAC1B,IAAA,iBAAiB,EAAE,KAAK;AACxB,IAAA,4BAA4B,EAAE,KAAK;AACnC,IAAA,kBAAkB,EAAE,KAAK;AACzB,IAAA,uBAAuB,EAAE,KAAK;AAC9B,IAAA,YAAY,EAAE,KAAK;AACnB,IAAA,uBAAuB,EAAE,KAAK;AAC9B,IAAA,qBAAqB,EAAE,iBAAiB,CAAC,OAAO,CAAC;AACjD,IAAA,qBAAqB,EAAE,OAAO;AAC9B,IAAA,wBAAwB,EAAE,KAAK;AAC/B,IAAA,yBAAyB,EAAE,KAAK;AAChC,IAAA,qBAAqB,EAAE,KAAK;AAC5B,IAAA,sBAAsB,EAAE,KAAK;AAC7B,IAAA,qBAAqB,EAAE,KAAK;AAC5B,IAAA,kBAAkB,EAAE,OAAO;AAC3B,IAAA,kBAAkB,EAAE,OAAO;AAC3B,IAAA,kBAAkB,EAAE,KAAK;AACzB,IAAA,mBAAmB,EAAE,OAAO;AAC5B,IAAA,wBAAwB,EAAE,KAAK;AAC/B,IAAA,yBAAyB,EAAE,KAAK;AAChC,IAAA,WAAW,EAAE,KAAK;AAClB,IAAA,sBAAsB,EAAE,KAAK;AAC7B,IAAA,sBAAsB,EAAE,iBAAiB,CAAC,OAAO,CAAC;AAClD,IAAA,yBAAyB,EAAE,KAAK;AAChC,IAAA,0BAA0B,EAAE,KAAK;AACjC,IAAA,uCAAuC,EAAE,KAAK;AAC9C,IAAA,qCAAqC,EAAE,KAAK;AAC5C,IAAA,yCAAyC,EAAE,KAAK;AAChD,IAAA,wBAAwB,EAAE,KAAK;AAC/B,IAAA,yBAAyB,EAAE,KAAK;AAChC,IAAA,yBAAyB,EAAE,KAAK;AAChC,IAAA,8BAA8B,EAAE,KAAK;AACrC,IAAA,8BAA8B,EAAE,KAAK;AACrC,IAAA,mCAAmC,EAAE,KAAK;AAC1C,IAAA,qBAAqB,EAAE,KAAK;IAC5B,wBAAwB,EAAE,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;AAC5D,IAAA,uBAAuB,EAAE,KAAK;AAC9B,IAAA,sBAAsB,EAAE,KAAK;AAC7B,IAAA,yBAAyB,EAAE,KAAK;AAChC,IAAA,wBAAwB,EAAE,CAAC,OAAO,EAAE,QAAQ,CAAC;AAC7C,IAAA,wBAAwB,EAAE,CAAC,OAAO,EAAE,QAAQ,CAAC;;AAG7C,IAAA,wBAAwB,EAAE,CAAC;AAC3B,IAAA,WAAW,EAAE,CAAC;;;;;"}
1
+ {"version":3,"file":"eslint-n-rules.mjs","sources":["../../src/rules/eslint-n-rules.mts"],"sourcesContent":[null],"names":[],"mappings":";;AAEO,MAAM,YAAY,GAAG;AAC1B,IAAA,mBAAmB,EAAE,KAAK;AAC1B,IAAA,iBAAiB,EAAE,KAAK;AACxB,IAAA,4BAA4B,EAAE,KAAK;AACnC,IAAA,kBAAkB,EAAE,KAAK;AACzB,IAAA,uBAAuB,EAAE,KAAK;AAC9B,IAAA,YAAY,EAAE,KAAK;AACnB,IAAA,uBAAuB,EAAE,KAAK;AAC9B,IAAA,qBAAqB,EAAE,iBAAiB,CAAC,OAAO,CAAC;AACjD,IAAA,qBAAqB,EAAE,OAAO;AAC9B,IAAA,wBAAwB,EAAE,KAAK;AAC/B,IAAA,yBAAyB,EAAE,KAAK;AAChC,IAAA,qBAAqB,EAAE,KAAK;AAC5B,IAAA,sBAAsB,EAAE,KAAK;AAC7B,IAAA,qBAAqB,EAAE,KAAK;AAC5B,IAAA,kBAAkB,EAAE,OAAO;AAC3B,IAAA,kBAAkB,EAAE,OAAO;AAC3B,IAAA,kBAAkB,EAAE,KAAK;AACzB,IAAA,mBAAmB,EAAE,OAAO;AAC5B,IAAA,wBAAwB,EAAE,KAAK;AAC/B,IAAA,yBAAyB,EAAE,KAAK;AAChC,IAAA,WAAW,EAAE,KAAK;AAClB,IAAA,sBAAsB,EAAE,KAAK;AAC7B,IAAA,sBAAsB,EAAE,iBAAiB,CAAC,OAAO,CAAC;AAClD,IAAA,yBAAyB,EAAE,KAAK;AAChC,IAAA,0BAA0B,EAAE,KAAK;AACjC,IAAA,uCAAuC,EAAE,KAAK;AAC9C,IAAA,qCAAqC,EAAE,KAAK;AAC5C,IAAA,yCAAyC,EAAE,KAAK;AAChD,IAAA,wBAAwB,EAAE,KAAK;AAC/B,IAAA,yBAAyB,EAAE,KAAK;AAChC,IAAA,yBAAyB,EAAE,KAAK;AAChC,IAAA,8BAA8B,EAAE,KAAK;AACrC,IAAA,8BAA8B,EAAE,KAAK;AACrC,IAAA,mCAAmC,EAAE,KAAK;AAC1C,IAAA,qBAAqB,EAAE,KAAK;;;AAG5B,IAAA,+BAA+B,EAAE,OAAO;IACxC,wBAAwB,EAAE,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;;;AAG5D,IAAA,qCAAqC,EAAE,KAAK;AAC5C,IAAA,uBAAuB,EAAE,KAAK;AAC9B,IAAA,sBAAsB,EAAE,KAAK;AAC7B,IAAA,yBAAyB,EAAE,KAAK;AAChC,IAAA,wBAAwB,EAAE,CAAC,OAAO,EAAE,QAAQ,CAAC;AAC7C,IAAA,wBAAwB,EAAE,CAAC,OAAO,EAAE,QAAQ,CAAC;;AAG7C,IAAA,wBAAwB,EAAE,CAAC;AAC3B,IAAA,WAAW,EAAE,CAAC;;;;;"}
@@ -3,7 +3,7 @@ import { type FixedLengthTuple } from 'ts-type-forge';
3
3
  type SpreadOptionsIfIsArray<T extends readonly [Linter.StringSeverity, unknown]> = T[1] extends readonly unknown[] ? readonly [Linter.StringSeverity, ...T[1]] : T;
4
4
  /**
5
5
  * @description Enforce `test` and `it` usage conventions
6
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/consistent-test-it.md
6
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/consistent-test-it.md
7
7
  *
8
8
  * ```md
9
9
  * | key | value |
@@ -50,7 +50,7 @@ declare namespace ConsistentTestIt {
50
50
  }
51
51
  /**
52
52
  * @description Enforce assertion to be made in a test body
53
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/expect-expect.md
53
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/expect-expect.md
54
54
  *
55
55
  * ```md
56
56
  * | key | value |
@@ -94,7 +94,7 @@ declare namespace ExpectExpect {
94
94
  }
95
95
  /**
96
96
  * @description Enforces a maximum number assertion calls in a test body
97
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/max-expects.md
97
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/max-expects.md
98
98
  *
99
99
  * ```md
100
100
  * | key | value |
@@ -129,7 +129,7 @@ declare namespace MaxExpects {
129
129
  }
130
130
  /**
131
131
  * @description Enforces a maximum depth to nested describe calls
132
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/max-nested-describe.md
132
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/max-nested-describe.md
133
133
  *
134
134
  * ```md
135
135
  * | key | value |
@@ -164,7 +164,7 @@ declare namespace MaxNestedDescribe {
164
164
  }
165
165
  /**
166
166
  * @description Disallow alias methods
167
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/no-alias-methods.md
167
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/no-alias-methods.md
168
168
  *
169
169
  * ```md
170
170
  * | key | value |
@@ -179,7 +179,7 @@ declare namespace NoAliasMethods {
179
179
  }
180
180
  /**
181
181
  * @description Disallow commented out tests
182
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/no-commented-out-tests.md
182
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/no-commented-out-tests.md
183
183
  *
184
184
  * ```md
185
185
  * | key | value |
@@ -193,7 +193,7 @@ declare namespace NoCommentedOutTests {
193
193
  }
194
194
  /**
195
195
  * @description Disallow calling `expect` conditionally
196
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/no-conditional-expect.md
196
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/no-conditional-expect.md
197
197
  *
198
198
  * ```md
199
199
  * | key | value |
@@ -207,7 +207,7 @@ declare namespace NoConditionalExpect {
207
207
  }
208
208
  /**
209
209
  * @description Disallow conditional logic in tests
210
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/no-conditional-in-test.md
210
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/no-conditional-in-test.md
211
211
  *
212
212
  * ```md
213
213
  * | key | value |
@@ -241,7 +241,7 @@ declare namespace NoConditionalInTest {
241
241
  }
242
242
  /**
243
243
  * @description Disallow confusing usages of jest.setTimeout
244
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/no-confusing-set-timeout.md
244
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/no-confusing-set-timeout.md
245
245
  *
246
246
  * ```md
247
247
  * | key | value |
@@ -255,7 +255,7 @@ declare namespace NoConfusingSetTimeout {
255
255
  }
256
256
  /**
257
257
  * @description Disallow use of deprecated functions
258
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/no-deprecated-functions.md
258
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/no-deprecated-functions.md
259
259
  *
260
260
  * ```md
261
261
  * | key | value |
@@ -270,7 +270,7 @@ declare namespace NoDeprecatedFunctions {
270
270
  }
271
271
  /**
272
272
  * @description Disallow disabled tests
273
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/no-disabled-tests.md
273
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/no-disabled-tests.md
274
274
  *
275
275
  * ```md
276
276
  * | key | value |
@@ -284,7 +284,7 @@ declare namespace NoDisabledTests {
284
284
  }
285
285
  /**
286
286
  * @description Disallow using a callback in asynchronous tests and hooks
287
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/no-done-callback.md
287
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/no-done-callback.md
288
288
  *
289
289
  * ```md
290
290
  * | key | value |
@@ -299,7 +299,7 @@ declare namespace NoDoneCallback {
299
299
  }
300
300
  /**
301
301
  * @description Disallow duplicate setup and teardown hooks
302
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/no-duplicate-hooks.md
302
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/no-duplicate-hooks.md
303
303
  *
304
304
  * ```md
305
305
  * | key | value |
@@ -313,7 +313,7 @@ declare namespace NoDuplicateHooks {
313
313
  }
314
314
  /**
315
315
  * @description Disallow using equality matchers on error types
316
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/no-error-equal.md
316
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/no-error-equal.md
317
317
  *
318
318
  * ```md
319
319
  * | key | value |
@@ -328,7 +328,7 @@ declare namespace NoErrorEqual {
328
328
  }
329
329
  /**
330
330
  * @description Disallow using `exports` in files containing tests
331
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/no-export.md
331
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/no-export.md
332
332
  *
333
333
  * ```md
334
334
  * | key | value |
@@ -342,7 +342,7 @@ declare namespace NoExport {
342
342
  }
343
343
  /**
344
344
  * @description Disallow focused tests
345
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/no-focused-tests.md
345
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/no-focused-tests.md
346
346
  *
347
347
  * ```md
348
348
  * | key | value |
@@ -357,7 +357,7 @@ declare namespace NoFocusedTests {
357
357
  }
358
358
  /**
359
359
  * @description Disallow setup and teardown hooks
360
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/no-hooks.md
360
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/no-hooks.md
361
361
  *
362
362
  * ```md
363
363
  * | key | value |
@@ -397,7 +397,7 @@ declare namespace NoHooks {
397
397
  }
398
398
  /**
399
399
  * @description Disallow identical titles
400
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/no-identical-title.md
400
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/no-identical-title.md
401
401
  *
402
402
  * ```md
403
403
  * | key | value |
@@ -411,7 +411,7 @@ declare namespace NoIdenticalTitle {
411
411
  }
412
412
  /**
413
413
  * @description Disallow string interpolation inside snapshots
414
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/no-interpolation-in-snapshots.md
414
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/no-interpolation-in-snapshots.md
415
415
  *
416
416
  * ```md
417
417
  * | key | value |
@@ -425,7 +425,7 @@ declare namespace NoInterpolationInSnapshots {
425
425
  }
426
426
  /**
427
427
  * @description Disallow Jasmine globals
428
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/no-jasmine-globals.md
428
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/no-jasmine-globals.md
429
429
  *
430
430
  * ```md
431
431
  * | key | value |
@@ -440,7 +440,7 @@ declare namespace NoJasmineGlobals {
440
440
  }
441
441
  /**
442
442
  * @description Disallow large snapshots
443
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/no-large-snapshots.md
443
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/no-large-snapshots.md
444
444
  *
445
445
  * ```md
446
446
  * | key | value |
@@ -485,7 +485,7 @@ declare namespace NoLargeSnapshots {
485
485
  }
486
486
  /**
487
487
  * @description Disallow manually importing from `__mocks__`
488
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/no-mocks-import.md
488
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/no-mocks-import.md
489
489
  *
490
490
  * ```md
491
491
  * | key | value |
@@ -499,7 +499,7 @@ declare namespace NoMocksImport {
499
499
  }
500
500
  /**
501
501
  * @description Disallow specific `jest.` methods
502
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/no-restricted-jest-methods.md
502
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/no-restricted-jest-methods.md
503
503
  *
504
504
  * ```md
505
505
  * | key | value |
@@ -531,7 +531,7 @@ declare namespace NoRestrictedJestMethods {
531
531
  }
532
532
  /**
533
533
  * @description Disallow specific matchers & modifiers
534
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/no-restricted-matchers.md
534
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/no-restricted-matchers.md
535
535
  *
536
536
  * ```md
537
537
  * | key | value |
@@ -563,7 +563,7 @@ declare namespace NoRestrictedMatchers {
563
563
  }
564
564
  /**
565
565
  * @description Disallow using `expect` outside of `it` or `test` blocks
566
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/no-standalone-expect.md
566
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/no-standalone-expect.md
567
567
  *
568
568
  * ```md
569
569
  * | key | value |
@@ -600,7 +600,7 @@ declare namespace NoStandaloneExpect {
600
600
  }
601
601
  /**
602
602
  * @description Require using `.only` and `.skip` over `f` and `x`
603
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/no-test-prefixes.md
603
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/no-test-prefixes.md
604
604
  *
605
605
  * ```md
606
606
  * | key | value |
@@ -615,7 +615,7 @@ declare namespace NoTestPrefixes {
615
615
  }
616
616
  /**
617
617
  * @description Disallow explicitly returning from tests
618
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/no-test-return-statement.md
618
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/no-test-return-statement.md
619
619
  *
620
620
  * ```md
621
621
  * | key | value |
@@ -629,7 +629,7 @@ declare namespace NoTestReturnStatement {
629
629
  }
630
630
  /**
631
631
  * @description Disallow unnecessary assertions based on types
632
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/no-unnecessary-assertion.md
632
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/no-unnecessary-assertion.md
633
633
  *
634
634
  * ```md
635
635
  * | key | value |
@@ -644,7 +644,7 @@ declare namespace NoUnnecessaryAssertion {
644
644
  }
645
645
  /**
646
646
  * @description Disallow unnecessary async function wrapper for expected promises
647
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/no-unneeded-async-expect-function.md
647
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/no-unneeded-async-expect-function.md
648
648
  *
649
649
  * ```md
650
650
  * | key | value |
@@ -659,7 +659,7 @@ declare namespace NoUnneededAsyncExpectFunction {
659
659
  }
660
660
  /**
661
661
  * @description Disallow using `jest.mock()` factories without an explicit type parameter
662
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/no-untyped-mock-factory.md
662
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/no-untyped-mock-factory.md
663
663
  *
664
664
  * ```md
665
665
  * | key | value |
@@ -674,7 +674,7 @@ declare namespace NoUntypedMockFactory {
674
674
  }
675
675
  /**
676
676
  * @description Enforce padding around `afterAll` blocks
677
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/padding-around-after-all-blocks.md
677
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/padding-around-after-all-blocks.md
678
678
  *
679
679
  * ```md
680
680
  * | key | value |
@@ -689,7 +689,7 @@ declare namespace PaddingAroundAfterAllBlocks {
689
689
  }
690
690
  /**
691
691
  * @description Enforce padding around `afterEach` blocks
692
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/padding-around-after-each-blocks.md
692
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/padding-around-after-each-blocks.md
693
693
  *
694
694
  * ```md
695
695
  * | key | value |
@@ -704,7 +704,7 @@ declare namespace PaddingAroundAfterEachBlocks {
704
704
  }
705
705
  /**
706
706
  * @description Enforce padding around Jest functions
707
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/padding-around-all.md
707
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/padding-around-all.md
708
708
  *
709
709
  * ```md
710
710
  * | key | value |
@@ -719,7 +719,7 @@ declare namespace PaddingAroundAll {
719
719
  }
720
720
  /**
721
721
  * @description Enforce padding around `beforeAll` blocks
722
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/padding-around-before-all-blocks.md
722
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/padding-around-before-all-blocks.md
723
723
  *
724
724
  * ```md
725
725
  * | key | value |
@@ -734,7 +734,7 @@ declare namespace PaddingAroundBeforeAllBlocks {
734
734
  }
735
735
  /**
736
736
  * @description Enforce padding around `beforeEach` blocks
737
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/padding-around-before-each-blocks.md
737
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/padding-around-before-each-blocks.md
738
738
  *
739
739
  * ```md
740
740
  * | key | value |
@@ -749,7 +749,7 @@ declare namespace PaddingAroundBeforeEachBlocks {
749
749
  }
750
750
  /**
751
751
  * @description Enforce padding around `describe` blocks
752
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/padding-around-describe-blocks.md
752
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/padding-around-describe-blocks.md
753
753
  *
754
754
  * ```md
755
755
  * | key | value |
@@ -764,7 +764,7 @@ declare namespace PaddingAroundDescribeBlocks {
764
764
  }
765
765
  /**
766
766
  * @description Enforce padding around `expect` groups
767
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/padding-around-expect-groups.md
767
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/padding-around-expect-groups.md
768
768
  *
769
769
  * ```md
770
770
  * | key | value |
@@ -779,7 +779,7 @@ declare namespace PaddingAroundExpectGroups {
779
779
  }
780
780
  /**
781
781
  * @description Enforce padding around `test` and `it` blocks
782
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/padding-around-test-blocks.md
782
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/padding-around-test-blocks.md
783
783
  *
784
784
  * ```md
785
785
  * | key | value |
@@ -794,7 +794,7 @@ declare namespace PaddingAroundTestBlocks {
794
794
  }
795
795
  /**
796
796
  * @description Suggest using `toHaveBeenCalledWith()`
797
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/prefer-called-with.md
797
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/prefer-called-with.md
798
798
  *
799
799
  * ```md
800
800
  * | key | value |
@@ -808,7 +808,7 @@ declare namespace PreferCalledWith {
808
808
  }
809
809
  /**
810
810
  * @description Suggest using the built-in comparison matchers
811
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/prefer-comparison-matcher.md
811
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/prefer-comparison-matcher.md
812
812
  *
813
813
  * ```md
814
814
  * | key | value |
@@ -823,7 +823,7 @@ declare namespace PreferComparisonMatcher {
823
823
  }
824
824
  /**
825
825
  * @description Prefer using `.each` rather than manual loops
826
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/prefer-each.md
826
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/prefer-each.md
827
827
  *
828
828
  * ```md
829
829
  * | key | value |
@@ -837,7 +837,7 @@ declare namespace PreferEach {
837
837
  }
838
838
  /**
839
839
  * @description Prefer having the last statement in a test be an assertion
840
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/prefer-ending-with-an-expect.md
840
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/prefer-ending-with-an-expect.md
841
841
  *
842
842
  * ```md
843
843
  * | key | value |
@@ -881,7 +881,7 @@ declare namespace PreferEndingWithAnExpect {
881
881
  }
882
882
  /**
883
883
  * @description Suggest using the built-in equality matchers
884
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/prefer-equality-matcher.md
884
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/prefer-equality-matcher.md
885
885
  *
886
886
  * ```md
887
887
  * | key | value |
@@ -896,7 +896,7 @@ declare namespace PreferEqualityMatcher {
896
896
  }
897
897
  /**
898
898
  * @description Suggest using `expect.assertions()` OR `expect.hasAssertions()`
899
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/prefer-expect-assertions.md
899
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/prefer-expect-assertions.md
900
900
  *
901
901
  * ```md
902
902
  * | key | value |
@@ -939,7 +939,7 @@ declare namespace PreferExpectAssertions {
939
939
  }
940
940
  /**
941
941
  * @description Prefer `await expect(...).resolves` over `expect(await ...)` syntax
942
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/prefer-expect-resolves.md
942
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/prefer-expect-resolves.md
943
943
  *
944
944
  * ```md
945
945
  * | key | value |
@@ -954,7 +954,7 @@ declare namespace PreferExpectResolves {
954
954
  }
955
955
  /**
956
956
  * @description Prefer having hooks in a consistent order
957
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/prefer-hooks-in-order.md
957
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/prefer-hooks-in-order.md
958
958
  *
959
959
  * ```md
960
960
  * | key | value |
@@ -968,7 +968,7 @@ declare namespace PreferHooksInOrder {
968
968
  }
969
969
  /**
970
970
  * @description Suggest having hooks before any test cases
971
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/prefer-hooks-on-top.md
971
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/prefer-hooks-on-top.md
972
972
  *
973
973
  * ```md
974
974
  * | key | value |
@@ -982,7 +982,7 @@ declare namespace PreferHooksOnTop {
982
982
  }
983
983
  /**
984
984
  * @description Prefer importing Jest globals
985
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/prefer-importing-jest-globals.md
985
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/prefer-importing-jest-globals.md
986
986
  *
987
987
  * ```md
988
988
  * | key | value |
@@ -1028,7 +1028,7 @@ declare namespace PreferImportingJestGlobals {
1028
1028
  }
1029
1029
  /**
1030
1030
  * @description Prefer `jest.mocked()` over `fn as jest.Mock`
1031
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/prefer-jest-mocked.md
1031
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/prefer-jest-mocked.md
1032
1032
  *
1033
1033
  * ```md
1034
1034
  * | key | value |
@@ -1043,7 +1043,7 @@ declare namespace PreferJestMocked {
1043
1043
  }
1044
1044
  /**
1045
1045
  * @description Enforce lowercase test names
1046
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/prefer-lowercase-title.md
1046
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/prefer-lowercase-title.md
1047
1047
  *
1048
1048
  * ```md
1049
1049
  * | key | value |
@@ -1111,7 +1111,7 @@ declare namespace PreferLowercaseTitle {
1111
1111
  }
1112
1112
  /**
1113
1113
  * @description Prefer mock resolved/rejected shorthands for promises
1114
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/prefer-mock-promise-shorthand.md
1114
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/prefer-mock-promise-shorthand.md
1115
1115
  *
1116
1116
  * ```md
1117
1117
  * | key | value |
@@ -1126,7 +1126,7 @@ declare namespace PreferMockPromiseShorthand {
1126
1126
  }
1127
1127
  /**
1128
1128
  * @description Prefer mock return shorthands
1129
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/prefer-mock-return-shorthand.md
1129
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/prefer-mock-return-shorthand.md
1130
1130
  *
1131
1131
  * ```md
1132
1132
  * | key | value |
@@ -1141,7 +1141,7 @@ declare namespace PreferMockReturnShorthand {
1141
1141
  }
1142
1142
  /**
1143
1143
  * @description Prefer including a hint with external snapshots
1144
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/prefer-snapshot-hint.md
1144
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/prefer-snapshot-hint.md
1145
1145
  *
1146
1146
  * ```md
1147
1147
  * | key | value |
@@ -1171,7 +1171,7 @@ declare namespace PreferSnapshotHint {
1171
1171
  }
1172
1172
  /**
1173
1173
  * @description Suggest using `jest.spyOn()`
1174
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/prefer-spy-on.md
1174
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/prefer-spy-on.md
1175
1175
  *
1176
1176
  * ```md
1177
1177
  * | key | value |
@@ -1186,7 +1186,7 @@ declare namespace PreferSpyOn {
1186
1186
  }
1187
1187
  /**
1188
1188
  * @description Suggest using `toStrictEqual()`
1189
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/prefer-strict-equal.md
1189
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/prefer-strict-equal.md
1190
1190
  *
1191
1191
  * ```md
1192
1192
  * | key | value |
@@ -1201,7 +1201,7 @@ declare namespace PreferStrictEqual {
1201
1201
  }
1202
1202
  /**
1203
1203
  * @description Suggest using `toBe()` for primitive literals
1204
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/prefer-to-be.md
1204
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/prefer-to-be.md
1205
1205
  *
1206
1206
  * ```md
1207
1207
  * | key | value |
@@ -1216,7 +1216,7 @@ declare namespace PreferToBe {
1216
1216
  }
1217
1217
  /**
1218
1218
  * @description Suggest using `toContain()`
1219
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/prefer-to-contain.md
1219
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/prefer-to-contain.md
1220
1220
  *
1221
1221
  * ```md
1222
1222
  * | key | value |
@@ -1231,7 +1231,7 @@ declare namespace PreferToContain {
1231
1231
  }
1232
1232
  /**
1233
1233
  * @description Suggest using `toHaveBeenCalledTimes()`
1234
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/prefer-to-have-been-called-times.md
1234
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/prefer-to-have-been-called-times.md
1235
1235
  *
1236
1236
  * ```md
1237
1237
  * | key | value |
@@ -1246,7 +1246,7 @@ declare namespace PreferToHaveBeenCalledTimes {
1246
1246
  }
1247
1247
  /**
1248
1248
  * @description Suggest using `toHaveBeenCalled`
1249
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/prefer-to-have-been-called.md
1249
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/prefer-to-have-been-called.md
1250
1250
  *
1251
1251
  * ```md
1252
1252
  * | key | value |
@@ -1261,7 +1261,7 @@ declare namespace PreferToHaveBeenCalled {
1261
1261
  }
1262
1262
  /**
1263
1263
  * @description Suggest using `toHaveLength()`
1264
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/prefer-to-have-length.md
1264
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/prefer-to-have-length.md
1265
1265
  *
1266
1266
  * ```md
1267
1267
  * | key | value |
@@ -1276,7 +1276,7 @@ declare namespace PreferToHaveLength {
1276
1276
  }
1277
1277
  /**
1278
1278
  * @description Suggest using `test.todo`
1279
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/prefer-todo.md
1279
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/prefer-todo.md
1280
1280
  *
1281
1281
  * ```md
1282
1282
  * | key | value |
@@ -1291,7 +1291,7 @@ declare namespace PreferTodo {
1291
1291
  }
1292
1292
  /**
1293
1293
  * @description Require setup and teardown code to be within a hook
1294
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/require-hook.md
1294
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/require-hook.md
1295
1295
  *
1296
1296
  * ```md
1297
1297
  * | key | value |
@@ -1328,7 +1328,7 @@ declare namespace RequireHook {
1328
1328
  }
1329
1329
  /**
1330
1330
  * @description Require a message for `toThrow()`
1331
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/require-to-throw-message.md
1331
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/require-to-throw-message.md
1332
1332
  *
1333
1333
  * ```md
1334
1334
  * | key | value |
@@ -1342,7 +1342,7 @@ declare namespace RequireToThrowMessage {
1342
1342
  }
1343
1343
  /**
1344
1344
  * @description Require test cases and hooks to be inside a `describe` block
1345
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/require-top-level-describe.md
1345
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/require-top-level-describe.md
1346
1346
  *
1347
1347
  * ```md
1348
1348
  * | key | value |
@@ -1377,7 +1377,7 @@ declare namespace RequireTopLevelDescribe {
1377
1377
  }
1378
1378
  /**
1379
1379
  * @description Enforce unbound methods are called with their expected scope
1380
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/unbound-method.md
1380
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/unbound-method.md
1381
1381
  *
1382
1382
  * ```md
1383
1383
  * | key | value |
@@ -1417,7 +1417,7 @@ declare namespace UnboundMethod {
1417
1417
  }
1418
1418
  /**
1419
1419
  * @description Enforce valid `describe()` callback
1420
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/valid-describe-callback.md
1420
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/valid-describe-callback.md
1421
1421
  *
1422
1422
  * ```md
1423
1423
  * | key | value |
@@ -1431,7 +1431,7 @@ declare namespace ValidDescribeCallback {
1431
1431
  }
1432
1432
  /**
1433
1433
  * @description Require promises that have expectations in their chain to be valid
1434
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/valid-expect-in-promise.md
1434
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/valid-expect-in-promise.md
1435
1435
  *
1436
1436
  * ```md
1437
1437
  * | key | value |
@@ -1445,7 +1445,7 @@ declare namespace ValidExpectInPromise {
1445
1445
  }
1446
1446
  /**
1447
1447
  * @description Require that `resolve` and `reject` modifiers are present (and only) for promise-like types
1448
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/valid-expect-with-promise.md
1448
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/valid-expect-with-promise.md
1449
1449
  *
1450
1450
  * ```md
1451
1451
  * | key | value |
@@ -1480,7 +1480,7 @@ declare namespace ValidExpectWithPromise {
1480
1480
  }
1481
1481
  /**
1482
1482
  * @description Enforce valid `expect()` usage
1483
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/valid-expect.md
1483
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/valid-expect.md
1484
1484
  *
1485
1485
  * ```md
1486
1486
  * | key | value |
@@ -1536,7 +1536,7 @@ declare namespace ValidExpect {
1536
1536
  }
1537
1537
  /**
1538
1538
  * @description Disallow mocking of non-existing module paths
1539
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/valid-mock-module-path.md
1539
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/valid-mock-module-path.md
1540
1540
  *
1541
1541
  * ```md
1542
1542
  * | key | value |
@@ -1574,7 +1574,7 @@ declare namespace ValidMockModulePath {
1574
1574
  }
1575
1575
  /**
1576
1576
  * @description Enforce valid titles
1577
- * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.0/docs/rules/valid-title.md
1577
+ * @link https://github.com/jest-community/eslint-plugin-jest/blob/v29.16.1/docs/rules/valid-title.md
1578
1578
  *
1579
1579
  * ```md
1580
1580
  * | key | value |