@pplancq/eslint-config 5.0.9 → 5.0.10

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.
@@ -56,7 +56,7 @@ const typescriptRules = {
56
56
  // @typescript-eslint/eslint-plugin https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/README.md
57
57
  // turn off ESLint equivalents
58
58
 
59
- // Require that function overload signatures be consecutive.
59
+ // Require that `function` overload signatures be consecutive.
60
60
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/adjacent-overload-signatures.mdx
61
61
  '@typescript-eslint/adjacent-overload-signatures': 'off',
62
62
 
@@ -64,7 +64,7 @@ const typescriptRules = {
64
64
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/array-type.mdx
65
65
  '@typescript-eslint/array-type': 'off',
66
66
 
67
- // Disallow awaiting a value that is not a Thenable.
67
+ // Disallow awaiting a value that is not a `Thenable`.
68
68
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/await-thenable.mdx
69
69
  '@typescript-eslint/await-thenable': 'off',
70
70
 
@@ -85,7 +85,7 @@ const typescriptRules = {
85
85
  // 'class-methods-use-this': 'off',
86
86
  '@typescript-eslint/class-methods-use-this': 'off',
87
87
 
88
- // Enforce specifying generic type arguments on type annotation or constructor name of a constructor call.
88
+ // Enforce specifying generic type arguments on type annotation or `constructor` name of a constructor call.
89
89
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/consistent-generic-constructors.mdx
90
90
  '@typescript-eslint/consistent-generic-constructors': 'off',
91
91
 
@@ -156,9 +156,9 @@ const typescriptRules = {
156
156
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/naming-convention.mdx
157
157
  '@typescript-eslint/naming-convention': 'off',
158
158
 
159
+ // 'no-array-constructor': 'off',
159
160
  // Disallow generic `Array` constructors.
160
161
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-array-constructor.mdx
161
- // 'no-array-constructor': 'off',
162
162
  '@typescript-eslint/no-array-constructor': 'error',
163
163
 
164
164
  // Disallow using the `delete` operator on array values.
@@ -173,7 +173,7 @@ const typescriptRules = {
173
173
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-confusing-non-null-assertion.mdx
174
174
  '@typescript-eslint/no-confusing-non-null-assertion': 'off',
175
175
 
176
- // Require expressions of type void to appear in statement position.
176
+ // Require expressions of type `void` to appear in statement position.
177
177
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-confusing-void-expression.mdx
178
178
  '@typescript-eslint/no-confusing-void-expression': 'off',
179
179
 
@@ -181,12 +181,12 @@ const typescriptRules = {
181
181
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-deprecated.mdx
182
182
  '@typescript-eslint/no-deprecated': 'off',
183
183
 
184
- // Disallow duplicate class members.
184
+ // Disallow duplicate `class` members.
185
185
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-dupe-class-members.mdx
186
186
  // 'no-dupe-class-members': 'off',
187
187
  '@typescript-eslint/no-dupe-class-members': 'off',
188
188
 
189
- // Disallow duplicate enum member values.
189
+ // Disallow duplicate `enum` member values.
190
190
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-duplicate-enum-values.mdx
191
191
  '@typescript-eslint/no-duplicate-enum-values': 'error',
192
192
 
@@ -219,11 +219,11 @@ const typescriptRules = {
219
219
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-extraneous-class.mdx
220
220
  '@typescript-eslint/no-extraneous-class': 'off',
221
221
 
222
- // Require Promise-like statements to be handled appropriately.
222
+ // Require `Promise`-like statements to be handled appropriately.
223
223
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-floating-promises.mdx
224
224
  '@typescript-eslint/no-floating-promises': 'off',
225
225
 
226
- // Disallow iterating over an array with a for-in loop.
226
+ // Disallow iterating over an array with a `for-in` loop.
227
227
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-for-in-array.mdx
228
228
  '@typescript-eslint/no-for-in-array': 'off',
229
229
 
@@ -232,11 +232,11 @@ const typescriptRules = {
232
232
  // 'no-implied-eval': 'off',
233
233
  '@typescript-eslint/no-implied-eval': 'off',
234
234
 
235
- // Enforce the use of top-level import type qualifier when an import only has specifiers with inline type qualifiers.
235
+ // Enforce the use of top-level `import type` qualifier when an import only has specifiers with inline type qualifiers.
236
236
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-import-type-side-effects.mdx
237
237
  '@typescript-eslint/no-import-type-side-effects': 'off',
238
238
 
239
- // Disallow explicit type declarations for variables or parameters initialized to a number, string, or boolean.
239
+ // Disallow explicit type declarations for variables or parameters initialized to a `number`, `string`, or `boolean`.
240
240
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-inferrable-types.mdx
241
241
  '@typescript-eslint/no-inferrable-types': 'off',
242
242
 
@@ -249,12 +249,12 @@ const typescriptRules = {
249
249
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-invalid-void-type.mdx
250
250
  '@typescript-eslint/no-invalid-void-type': 'off',
251
251
 
252
- // Disallow function declarations that contain unsafe references inside loop statements.
252
+ // Disallow `function` declarations that contain unsafe references inside loop statements.
253
253
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-loop-func.mdx
254
254
  // 'no-loop-func': 'off',
255
255
  '@typescript-eslint/no-loop-func': 'off',
256
256
 
257
- // import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';
257
+ // Disallow magic numbers.
258
258
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-magic-numbers.mdx
259
259
  // 'no-magic-numbers': 'off',
260
260
  '@typescript-eslint/no-magic-numbers': 'off',
@@ -267,11 +267,11 @@ const typescriptRules = {
267
267
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-misused-new.mdx
268
268
  '@typescript-eslint/no-misused-new': 'error',
269
269
 
270
- // Disallow Promises in places not designed to handle them.
270
+ // Disallow `Promise`s in places not designed to handle them.
271
271
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-misused-promises.mdx
272
272
  '@typescript-eslint/no-misused-promises': 'off',
273
273
 
274
- // Disallow enums from having both number and string members.
274
+ // Disallow `enum`s from having both number and string members.
275
275
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-mixed-enums.mdx
276
276
  '@typescript-eslint/no-mixed-enums': 'off',
277
277
 
@@ -322,7 +322,7 @@ const typescriptRules = {
322
322
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-this-alias.mdx
323
323
  '@typescript-eslint/no-this-alias': 'error',
324
324
 
325
- // Disallow unnecessary equality comparisons against boolean literals.
325
+ // Disallow unnecessary equality comparisons against `boolean` literals.
326
326
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unnecessary-boolean-literal-compare.mdx
327
327
  '@typescript-eslint/no-unnecessary-boolean-literal-compare': 'off',
328
328
 
@@ -330,7 +330,7 @@ const typescriptRules = {
330
330
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unnecessary-condition.mdx
331
331
  '@typescript-eslint/no-unnecessary-condition': 'off',
332
332
 
333
- // Disallow unnecessary assignment of constructor property parameter.
333
+ // Disallow unnecessary assignment of `constructor` property parameter.
334
334
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unnecessary-parameter-property-assignment.mdx
335
335
  '@typescript-eslint/no-unnecessary-parameter-property-assignment': 'off',
336
336
 
@@ -358,7 +358,7 @@ const typescriptRules = {
358
358
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unnecessary-type-parameters.mdx
359
359
  '@typescript-eslint/no-unnecessary-type-parameters': 'off',
360
360
 
361
- // Disallow calling a function with a value with type `any`.
361
+ // Disallow calling a `function` with a value with type `any`.
362
362
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unsafe-argument.mdx
363
363
  '@typescript-eslint/no-unsafe-argument': 'off',
364
364
 
@@ -374,11 +374,11 @@ const typescriptRules = {
374
374
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unsafe-declaration-merging.mdx
375
375
  '@typescript-eslint/no-unsafe-declaration-merging': 'error',
376
376
 
377
- // Disallow comparing an enum value with a non-enum value.
377
+ // Disallow comparing an `enum` value with a non-`enum` value.
378
378
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unsafe-enum-comparison.mdx
379
379
  '@typescript-eslint/no-unsafe-enum-comparison': 'off',
380
380
 
381
- // Disallow using the unsafe built-in Function type.
381
+ // Disallow using the unsafe built-in `Function` type.
382
382
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unsafe-function-type.mdx
383
383
  '@typescript-eslint/no-unsafe-function-type': 'error',
384
384
 
@@ -386,11 +386,11 @@ const typescriptRules = {
386
386
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unsafe-member-access.mdx
387
387
  '@typescript-eslint/no-unsafe-member-access': 'off',
388
388
 
389
- // Disallow returning a value with type `any` from a function.
389
+ // Disallow returning a value with type `any` from a `function`.
390
390
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unsafe-return.mdx
391
391
  '@typescript-eslint/no-unsafe-return': 'off',
392
392
 
393
- // Require unary negation to take a number.
393
+ // Require unary negation to take a `number`.
394
394
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unsafe-unary-minus.mdx
395
395
  '@typescript-eslint/no-unsafe-unary-minus': 'off',
396
396
 
@@ -444,11 +444,11 @@ const typescriptRules = {
444
444
  // 'prefer-destructuring': 'off',
445
445
  '@typescript-eslint/prefer-destructuring': 'off',
446
446
 
447
- // Require each enum member value to be explicitly initialized.
447
+ // Require each `enum` member value to be explicitly initialized.
448
448
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-enum-initializers.mdx
449
449
  '@typescript-eslint/prefer-enum-initializers': 'off',
450
450
 
451
- // Enforce the use of Array.prototype.find() over Array.prototype.filter() followed by [0] when looking for a single result.
451
+ // Enforce the use of `Array.prototype.find()` over `Array.prototype.filter()` followed by `[0]` when looking for a single result.
452
452
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-find.mdx
453
453
  '@typescript-eslint/prefer-find': 'off',
454
454
 
@@ -456,7 +456,7 @@ const typescriptRules = {
456
456
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-for-of.mdx
457
457
  '@typescript-eslint/prefer-for-of': 'off',
458
458
 
459
- // Enforce using function types instead of interfaces with call signatures.
459
+ // Enforce using `function` types instead of interfaces with call signatures.
460
460
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-function-type.mdx
461
461
  '@typescript-eslint/prefer-function-type': 'off',
462
462
 
@@ -464,7 +464,7 @@ const typescriptRules = {
464
464
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-includes.mdx
465
465
  '@typescript-eslint/prefer-includes': 'off',
466
466
 
467
- // Require all enum members to be literal values.
467
+ // Require all `enum` members to be literal values.
468
468
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-literal-enum-member.mdx
469
469
  '@typescript-eslint/prefer-literal-enum-member': 'off',
470
470
 
@@ -480,16 +480,16 @@ const typescriptRules = {
480
480
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-optional-chain.mdx
481
481
  '@typescript-eslint/prefer-optional-chain': 'off',
482
482
 
483
- // Require using Error objects as Promise rejection reasons.
483
+ // Require using `Error` objects as `Promise` rejection reasons.
484
484
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-promise-reject-errors.mdx
485
485
  // 'prefer-promise-reject-errors': 'off',
486
486
  '@typescript-eslint/prefer-promise-reject-errors': 'off',
487
487
 
488
- // Require private members to be marked as `readonly` if they're never modified outside of the constructor.
488
+ // Require private members to be marked as `readonly` if they're never modified outside of the `constructor`.
489
489
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-readonly.mdx
490
490
  '@typescript-eslint/prefer-readonly': 'off',
491
491
 
492
- // Require function parameters to be typed as `readonly` to prevent accidental mutation of inputs.
492
+ // Require `function` parameters to be typed as `readonly` to prevent accidental mutation of inputs.
493
493
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-readonly-parameter-types.mdx
494
494
  '@typescript-eslint/prefer-readonly-parameter-types': 'off',
495
495
 
@@ -509,7 +509,7 @@ const typescriptRules = {
509
509
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-string-starts-ends-with.mdx
510
510
  '@typescript-eslint/prefer-string-starts-ends-with': 'off',
511
511
 
512
- // Require any function or method that returns a Promise to be marked async.
512
+ // Require any `function` or method that returns a `Promise` to be marked `async`.
513
513
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/promise-function-async.mdx
514
514
  '@typescript-eslint/promise-function-async': 'off',
515
515
 
@@ -517,7 +517,7 @@ const typescriptRules = {
517
517
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/require-array-sort-compare.mdx
518
518
  '@typescript-eslint/require-array-sort-compare': 'off',
519
519
 
520
- // Disallow async functions which do not return promises and have no `await` expression.
520
+ // Disallow `async` functions which do not return promises and have no `await` expression.
521
521
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/require-await.mdx
522
522
  // 'require-await': 'off',
523
523
  '@typescript-eslint/require-await': 'off',
@@ -535,15 +535,15 @@ const typescriptRules = {
535
535
  // 'no-return-await': 'off',
536
536
  '@typescript-eslint/return-await': 'off',
537
537
 
538
- // Disallow certain types in boolean expressions.
538
+ // Disallow certain types in `boolean` expressions.
539
539
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/strict-boolean-expressions.mdx
540
540
  '@typescript-eslint/strict-boolean-expressions': 'off',
541
541
 
542
- // Require switch-case statements to be exhaustive.
542
+ // Require `switch-case` statements to be exhaustive.
543
543
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/switch-exhaustiveness-check.mdx
544
544
  '@typescript-eslint/switch-exhaustiveness-check': 'off',
545
545
 
546
- // Disallow certain triple slash directives in favor of ES6-style import declarations.
546
+ // Disallow certain triple slash directives in favor of ES6-style `import` declarations.
547
547
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/triple-slash-reference.mdx
548
548
  '@typescript-eslint/triple-slash-reference': 'error',
549
549
 
@@ -559,7 +559,7 @@ const typescriptRules = {
559
559
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/unified-signatures.mdx
560
560
  '@typescript-eslint/unified-signatures': 'off',
561
561
 
562
- // Enforce typing arguments in Promise rejection callbacks as `unknown`.
562
+ // Enforce typing arguments in `Promise` rejection callbacks as `unknown`.
563
563
  // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/use-unknown-in-catch-callback-variable.mdx
564
564
  '@typescript-eslint/use-unknown-in-catch-callback-variable': 'off',
565
565
  },
package/rules/vitest.js CHANGED
@@ -18,11 +18,11 @@ const vitestRules = {
18
18
 
19
19
  // eslint-plugin-vitest https://github.com/veritem/eslint-plugin-vitest
20
20
 
21
- // Require .spec test file pattern
21
+ // Require `.spec` test file pattern
22
22
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-filename.md
23
23
  '@vitest/consistent-test-filename': 'off',
24
24
 
25
- // Enforce using test or it but not both
25
+ // Enforce using `test` or `it` but not both
26
26
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-it.md
27
27
  '@vitest/consistent-test-it': 'off',
28
28
 
@@ -30,11 +30,11 @@ const vitestRules = {
30
30
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/expect-expect.md
31
31
  '@vitest/expect-expect': 'off',
32
32
 
33
- // Enforce a maximum number of expect per test
33
+ // Enforce a maximum number of `expect` per test
34
34
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/max-expects.md
35
35
  '@vitest/max-expects': 'off',
36
36
 
37
- // Require describe block to be less than set max value or default value
37
+ // Require `describe` block to be less than set max value or default value
38
38
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/max-nested-describe.md
39
39
  '@vitest/max-nested-describe': 'off',
40
40
 
@@ -82,7 +82,7 @@ const vitestRules = {
82
82
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-identical-title.md
83
83
  '@vitest/no-identical-title': 'error',
84
84
 
85
- // Disallow importing node:test
85
+ // Disallow importing `node:test`
86
86
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-import-node-test.md
87
87
  '@vitest/no-import-node-test': 'off',
88
88
 
@@ -94,7 +94,7 @@ const vitestRules = {
94
94
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-large-snapshots.md
95
95
  '@vitest/no-large-snapshots': 'off',
96
96
 
97
- // Disallow importing from mocks directory
97
+ // Disallow importing from `mocks` directory
98
98
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-mocks-import.md
99
99
  '@vitest/no-mocks-import': 'error',
100
100
 
@@ -102,23 +102,23 @@ const vitestRules = {
102
102
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-restricted-matchers.md
103
103
  '@vitest/no-restricted-matchers': 'off',
104
104
 
105
- // Disallow specific vi. methods
105
+ // Disallow specific `vi.` methods
106
106
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-restricted-vi-methods.md
107
107
  '@vitest/no-restricted-vi-methods': 'off',
108
108
 
109
- // Disallow using expect outside of it or test blocks
109
+ // Disallow using `expect` outside of `it` or `test` blocks
110
110
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-standalone-expect.md
111
111
  '@vitest/no-standalone-expect': 'off',
112
112
 
113
- // Disallow using test as a prefix
113
+ // Disallow using `test` as a prefix
114
114
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-test-prefixes.md
115
115
  '@vitest/no-test-prefixes': 'off',
116
116
 
117
- // Disallow return statements in tests
117
+ // Disallow `return` statements in tests
118
118
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-test-return-statement.md
119
119
  '@vitest/no-test-return-statement': 'off',
120
120
 
121
- // Enforce using toBeCalledWith() or toHaveBeenCalledWith()
121
+ // Enforce using `toBeCalledWith()` or `toHaveBeenCalledWith()`
122
122
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-with.md
123
123
  '@vitest/prefer-called-with': 'error',
124
124
 
@@ -126,7 +126,7 @@ const vitestRules = {
126
126
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-comparison-matcher.md
127
127
  '@vitest/prefer-comparison-matcher': 'off',
128
128
 
129
- // Enforce using each rather than manual loops
129
+ // Enforce using `each` rather than manual loops
130
130
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-each.md
131
131
  '@vitest/prefer-each': 'off',
132
132
 
@@ -134,15 +134,15 @@ const vitestRules = {
134
134
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-equality-matcher.md
135
135
  '@vitest/prefer-equality-matcher': 'off',
136
136
 
137
- // Enforce using expect assertions instead of callbacks
137
+ // Enforce using `expect` assertions instead of callbacks
138
138
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-assertions.md
139
139
  '@vitest/prefer-expect-assertions': 'off',
140
140
 
141
- // Enforce using expect().resolves over expect(await ...) syntax
141
+ // Enforce using `expect().resolves` over `expect(await ...)` syntax
142
142
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-resolves.md
143
143
  '@vitest/prefer-expect-resolves': 'off',
144
144
 
145
- // Enforce having hooks in consistent order (vitest/prefer-hooks-in-order)
145
+ // Enforce having hooks in consistent order (`vitest/prefer-hooks-in-order`)
146
146
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-in-order.md
147
147
  '@vitest/prefer-hooks-in-order': 'off',
148
148
 
@@ -162,7 +162,7 @@ const vitestRules = {
162
162
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-snapshot-hint.md
163
163
  '@vitest/prefer-snapshot-hint': 'off',
164
164
 
165
- // Enforce using vi.spyOn
165
+ // Enforce using `vi.spyOn`
166
166
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-spy-on.md
167
167
  '@vitest/prefer-spy-on': 'off',
168
168
 
@@ -170,31 +170,31 @@ const vitestRules = {
170
170
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-strict-equal.md
171
171
  '@vitest/prefer-strict-equal': 'error',
172
172
 
173
- // Enforce using toBe()
173
+ // Enforce using `toBe()`
174
174
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be.md
175
175
  '@vitest/prefer-to-be': 'off',
176
176
 
177
- // Enforce using toBeFalsy()
177
+ // Enforce using `toBeFalsy()`
178
178
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be-falsy.md
179
179
  '@vitest/prefer-to-be-falsy': 'error',
180
180
 
181
- // Enforce using toBeObject()
181
+ // Enforce using `toBeObject()`
182
182
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be-object.md
183
183
  '@vitest/prefer-to-be-object': 'error',
184
184
 
185
- // Enforce using toBeTruthy
185
+ // Enforce using `toBeTruthy`
186
186
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be-truthy.md
187
187
  '@vitest/prefer-to-be-truthy': 'error',
188
188
 
189
- // Enforce using toContain()
189
+ // Enforce using `toContain()`
190
190
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-contain.md
191
191
  '@vitest/prefer-to-contain': 'error',
192
192
 
193
- // Enforce using toHaveLength()
193
+ // Enforce using `toHaveLength()`
194
194
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-have-length.md
195
195
  '@vitest/prefer-to-have-length': 'error',
196
196
 
197
- // Enforce using test.todo
197
+ // Enforce using `test.todo`
198
198
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-todo.md
199
199
  '@vitest/prefer-todo': 'off',
200
200
 
@@ -206,11 +206,11 @@ const vitestRules = {
206
206
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-local-test-context-for-concurrent-snapshots.md
207
207
  '@vitest/require-local-test-context-for-concurrent-snapshots': 'off',
208
208
 
209
- // Require toThrow() to be called with an error message
209
+ // Require `toThrow()` to be called with an error message
210
210
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-to-throw-message.md
211
211
  '@vitest/require-to-throw-message': 'off',
212
212
 
213
- // Enforce that all tests are in a top-level describe
213
+ // Enforce that all tests are in a top-level `describe`
214
214
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-top-level-describe.md
215
215
  '@vitest/require-top-level-describe': 'off',
216
216
 
@@ -218,11 +218,11 @@ const vitestRules = {
218
218
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/unbound-method.md
219
219
  '@vitest/unbound-method': 'off',
220
220
 
221
- // Enforce valid describe callback
221
+ // Enforce valid `describe` callback
222
222
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-describe-callback.md
223
223
  '@vitest/valid-describe-callback': 'error',
224
224
 
225
- // Enforce valid expect() usage
225
+ // Enforce valid `expect()` usage
226
226
  // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-expect.md
227
227
  '@vitest/valid-expect': 'error',
228
228