Skip to content

Commit

Permalink
feat(linter): eslint-plugin-jest/no-duplicate-hooks (#3358)
Browse files Browse the repository at this point in the history
  • Loading branch information
eryue0220 committed May 20, 2024
1 parent d453917 commit aec613b
Show file tree
Hide file tree
Showing 3 changed files with 725 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 @@ -145,6 +145,7 @@ mod jest {
pub mod no_deprecated_functions;
pub mod no_disabled_tests;
pub mod no_done_callback;
pub mod no_duplicate_hooks;
pub mod no_export;
pub mod no_focused_tests;
pub mod no_hooks;
Expand Down Expand Up @@ -500,6 +501,7 @@ oxc_macros::declare_all_lint_rules! {
jest::no_deprecated_functions,
jest::no_disabled_tests,
jest::no_done_callback,
jest::no_duplicate_hooks,
jest::no_export,
jest::no_focused_tests,
jest::no_hooks,
Expand Down

0 comments on commit aec613b

Please sign in to comment.