From ed994f45fe0062b8b88abf3db0c302eba55ab05c Mon Sep 17 00:00:00 2001 From: Victorien Elvinger Date: Thu, 4 Apr 2024 14:32:24 +0200 Subject: [PATCH] docs(lint/noDuplicateTestHooks): fix rule source (#2305) --- .../src/lint/nursery/no_duplicate_test_hooks.rs | 2 +- .../src/content/docs/linter/rules/no-duplicate-test-hooks.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/biome_js_analyze/src/lint/nursery/no_duplicate_test_hooks.rs b/crates/biome_js_analyze/src/lint/nursery/no_duplicate_test_hooks.rs index d62fee54d890..d5cfad9bd306 100644 --- a/crates/biome_js_analyze/src/lint/nursery/no_duplicate_test_hooks.rs +++ b/crates/biome_js_analyze/src/lint/nursery/no_duplicate_test_hooks.rs @@ -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, } } diff --git a/website/src/content/docs/linter/rules/no-duplicate-test-hooks.md b/website/src/content/docs/linter/rules/no-duplicate-test-hooks.md index 89cd0a488cc1..d26e135ebd00 100644 --- a/website/src/content/docs/linter/rules/no-duplicate-test-hooks.md +++ b/website/src/content/docs/linter/rules/no-duplicate-test-hooks.md @@ -8,7 +8,7 @@ title: noDuplicateTestHooks (since v1.6.0) This rule is part of the [nursery](/linter/rules/#nursery) group. ::: -Inspired from: no-focused-tests +Inspired from: no-duplicate-hooks A `describe` block should not contain duplicate hooks.