Skip to content

Commit 46b32f2

Browse files
committed
feat(linter): split jest/no-focused-tests into vitest/no-focused-tests (#21804)
1 parent 24f0b58 commit 46b32f2

11 files changed

Lines changed: 400 additions & 183 deletions

File tree

crates/oxc_linter/data/vitest_compatible_jest_rules.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
[
2-
"no-focused-tests",
32
"no-hooks",
43
"no-identical-title",
54
"no-interpolation-in-snapshots",

crates/oxc_linter/src/generated/rule_runner_impls.rs

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/oxc_linter/src/generated/rules_enum.rs

Lines changed: 26 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/oxc_linter/src/rules.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -736,6 +736,7 @@ pub(crate) mod vitest {
736736
pub mod no_conditional_tests;
737737
pub mod no_disabled_tests;
738738
pub mod no_duplicate_hooks;
739+
pub mod no_focused_tests;
739740
pub mod no_import_node_test;
740741
pub mod no_importing_vitest_globals;
741742
pub mod prefer_called_exactly_once_with;

0 commit comments

Comments
 (0)