Skip to content

Commit

Permalink
feat(linter/eslint-plugin-vitest): implement no-conditional-in-test (#…
Browse files Browse the repository at this point in the history
…4971)

Related to #4656
  • Loading branch information
shulaoda committed Aug 22, 2024
1 parent 14bf5d5 commit f1e4611
Show file tree
Hide file tree
Showing 4 changed files with 1,126 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/oxc_linter/src/rules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ mod jest {
pub mod no_alias_methods;
pub mod no_commented_out_tests;
pub mod no_conditional_expect;
pub mod no_conditional_in_test;
pub mod no_confusing_set_timeout;
pub mod no_deprecated_functions;
pub mod no_disabled_tests;
Expand Down Expand Up @@ -606,6 +607,7 @@ oxc_macros::declare_all_lint_rules! {
jest::no_alias_methods,
jest::no_commented_out_tests,
jest::no_conditional_expect,
jest::no_conditional_in_test,
jest::no_confusing_set_timeout,
jest::no_deprecated_functions,
jest::no_disabled_tests,
Expand Down
Loading

0 comments on commit f1e4611

Please sign in to comment.