Skip to content

Commit

Permalink
feat(linter): eslint-plugin-jest/require-hook (#3110)
Browse files Browse the repository at this point in the history
  • Loading branch information
eryue0220 authored Apr 26, 2024
1 parent 388ee51 commit bef8a71
Show file tree
Hide file tree
Showing 3 changed files with 792 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 @@ -180,6 +180,7 @@ mod jest {
pub mod prefer_to_contain;
pub mod prefer_to_have_length;
pub mod prefer_todo;
pub mod require_hook;
pub mod require_to_throw_message;
pub mod valid_describe_callback;
pub mod valid_expect;
Expand Down Expand Up @@ -525,6 +526,7 @@ oxc_macros::declare_all_lint_rules! {
jest::prefer_to_contain,
jest::prefer_to_have_length,
jest::prefer_todo,
jest::require_hook,
jest::require_to_throw_message,
jest::valid_describe_callback,
jest::valid_expect,
Expand Down
Loading

0 comments on commit bef8a71

Please sign in to comment.