Skip to content

Commit

Permalink
docs(lint/noDuplicateTestHooks): fix rule source (#2305)
Browse files Browse the repository at this point in the history
  • Loading branch information
Conaclos authored Apr 4, 2024
1 parent 7e0242b commit ed994f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ declare_rule! {
version: "1.6.0",
name: "noDuplicateTestHooks",
recommended: true,
source: RuleSource::EslintJest("no-focused-tests"),
source: RuleSource::EslintJest("no-duplicate-hooks"),
source_kind: RuleSourceKind::Inspired,
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ title: noDuplicateTestHooks (since v1.6.0)
This rule is part of the [nursery](/linter/rules/#nursery) group.
:::

Inspired from: <a href="https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/no-focused-tests.md" target="_blank"><code>no-focused-tests</code></a>
Inspired from: <a href="https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/no-duplicate-hooks.md" target="_blank"><code>no-duplicate-hooks</code></a>

A `describe` block should not contain duplicate hooks.

Expand Down

0 comments on commit ed994f4

Please sign in to comment.