Skip to content

Commit 5714c27

Browse files
authored
docs: fix incorrect rule title (#701)
1 parent 6191499 commit 5714c27

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export default [
176176
| [no-restricted-matchers](docs/rules/no-restricted-matchers.md) | disallow the use of certain matchers | | 🌐 | | | |
177177
| [no-restricted-vi-methods](docs/rules/no-restricted-vi-methods.md) | disallow specific `vi.` methods | | 🌐 | | | |
178178
| [no-standalone-expect](docs/rules/no-standalone-expect.md) | disallow using `expect` outside of `it` or `test` blocks | | 🌐 | | | |
179-
| [no-test-prefixes](docs/rules/no-test-prefixes.md) | disallow using `test` as a prefix | | 🌐 | πŸ”§ | | |
179+
| [no-test-prefixes](docs/rules/no-test-prefixes.md) | Disallow using the `f` and `x` prefixes in favour of `.only` and `.skip` | | 🌐 | πŸ”§ | | |
180180
| [no-test-return-statement](docs/rules/no-test-return-statement.md) | disallow return statements in tests | | 🌐 | | | |
181181
| [padding-around-after-all-blocks](docs/rules/padding-around-after-all-blocks.md) | enforce padding around `afterAll` blocks | | 🌐 | πŸ”§ | | |
182182
| [padding-around-after-each-blocks](docs/rules/padding-around-after-each-blocks.md) | enforce padding around `afterEach` blocks | | 🌐 | πŸ”§ | | |

β€Ždocs/rules/no-test-prefixes.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Disallow using `test` as a prefix (`vitest/no-test-prefixes`)
1+
# Disallow using the `f` and `x` prefixes in favour of `.only` and `.skip` (`vitest/no-test-prefixes`)
22

33
⚠️ This rule _warns_ in the 🌐 `all` config.
44

β€Žsrc/rules/no-test-prefixes.tsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default createEslintRule<Options, MESSAGE_IDS>({
1010
name: RULE_NAME,
1111
meta: {
1212
docs: {
13-
description: 'disallow using `test` as a prefix',
13+
description: 'Disallow using the `f` and `x` prefixes in favour of `.only` and `.skip`',
1414
recommended: false
1515
},
1616
type: 'suggestion',

0 commit comments

Comments
Β (0)