Skip to content

Commit

Permalink
feat(linter): eslint-plugin-jest/prefer-hooks-in-order (#4052)
Browse files Browse the repository at this point in the history
  • Loading branch information
eryue0220 committed Jul 10, 2024
1 parent 3ba7cfe commit 2188144
Show file tree
Hide file tree
Showing 4 changed files with 1,684 additions and 1 deletion.
2 changes: 2 additions & 0 deletions crates/oxc_linter/src/rules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ mod jest {
pub mod prefer_comparison_matcher;
pub mod prefer_equality_matcher;
pub mod prefer_expect_resolves;
pub mod prefer_hooks_in_order;
pub mod prefer_hooks_on_top;
pub mod prefer_jest_mocked;
pub mod prefer_lowercase_title;
Expand Down Expand Up @@ -588,6 +589,7 @@ oxc_macros::declare_all_lint_rules! {
jest::prefer_comparison_matcher,
jest::prefer_equality_matcher,
jest::prefer_expect_resolves,
jest::prefer_hooks_in_order,
jest::prefer_hooks_on_top,
jest::prefer_jest_mocked,
jest::prefer_lowercase_title,
Expand Down
Loading

0 comments on commit 2188144

Please sign in to comment.