You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/vitest.md
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ Config for projects using **Vitest** for testing.
34
34
);
35
35
```
36
36
37
-
## 📏 Rules (45)
37
+
## 📏 Rules (44)
38
38
39
39
> 🔧 Automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/user-guide/command-line-interface#--fix).<br>💡 Manually fixable by [editor suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).
40
40
@@ -52,7 +52,7 @@ Config for projects using **Vitest** for testing.
52
52
|[](https://github.com/veritem/eslint-plugin-vitest#readme)|[valid-expect-in-promise](https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-expect-in-promise.md)<br />require promises that have expectations in their chain to be valid ||||
@@ -89,6 +89,5 @@ Config for projects using **Vitest** for testing.
89
89
|[](https://github.com/veritem/eslint-plugin-vitest#readme)|[prefer-todo](https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-todo.md)<br />enforce using `test.todo`|| 🔧 ||
90
90
|[](https://github.com/veritem/eslint-plugin-vitest#readme)|[prefer-vi-mocked](https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-vi-mocked.md)<br />require `vi.mocked()` over `fn as Mock`|| 🔧 ||
91
91
|[](https://github.com/veritem/eslint-plugin-vitest#readme)|[require-hook](https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-hook.md)<br />require setup and teardown to be within a hook ||||
92
-
|[](https://github.com/veritem/eslint-plugin-vitest#readme)|[require-mock-type-parameters](https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-mock-type-parameters.md)<br />enforce using type parameters with vitest mock functions || 🔧 ||
93
92
|[](https://github.com/veritem/eslint-plugin-vitest#readme)|[require-to-throw-message](https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-to-throw-message.md)<br />require toThrow() to be called with an error message ||||
94
93
|[](https://github.com/veritem/eslint-plugin-vitest#readme)|[require-top-level-describe](https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-top-level-describe.md)<br />enforce that all tests are in a top-level describe ||||
0 commit comments