Skip to content

Commit

Permalink
feat(linter): eslint-plugin-jest/require-top-level-describe (#3439)
Browse files Browse the repository at this point in the history
part of #492

Rule Detail:
[link](https://github.com/jest-community/eslint-plugin-jest/blob/main/src/rules/require-top-level-describe.ts)

---------

Co-authored-by: wenzhe <mysteryven@gmail.com>
  • Loading branch information
eryue0220 and mysteryven authored May 28, 2024
1 parent edaa555 commit ded59bc
Show file tree
Hide file tree
Showing 3 changed files with 527 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 @@ -183,6 +183,7 @@ mod jest {
pub mod prefer_todo;
pub mod require_hook;
pub mod require_to_throw_message;
pub mod require_top_level_describe;
pub mod valid_describe_callback;
pub mod valid_expect;
pub mod valid_title;
Expand Down Expand Up @@ -552,6 +553,7 @@ oxc_macros::declare_all_lint_rules! {
jest::prefer_todo,
jest::require_hook,
jest::require_to_throw_message,
jest::require_top_level_describe,
jest::valid_describe_callback,
jest::valid_expect,
jest::valid_title,
Expand Down
Loading

0 comments on commit ded59bc

Please sign in to comment.