Skip to content

Commit

Permalink
feat(linter): eslint-plugin-jest/no-large-snapshot (#3436)
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/no-large-snapshots.ts)

---------

Co-authored-by: wenzhe <mysteryven@gmail.com>
  • Loading branch information
eryue0220 and mysteryven authored Jun 2, 2024
1 parent ac66de6 commit daf559f
Show file tree
Hide file tree
Showing 3 changed files with 661 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 @@ -162,6 +162,7 @@ mod jest {
pub mod no_identical_title;
pub mod no_interpolation_in_snapshots;
pub mod no_jasmine_globals;
pub mod no_large_snapshots;
pub mod no_mocks_import;
pub mod no_restricted_jest_methods;
pub mod no_restricted_matchers;
Expand Down Expand Up @@ -536,6 +537,7 @@ oxc_macros::declare_all_lint_rules! {
jest::no_identical_title,
jest::no_interpolation_in_snapshots,
jest::no_jasmine_globals,
jest::no_large_snapshots,
jest::no_mocks_import,
jest::no_restricted_jest_methods,
jest::no_restricted_matchers,
Expand Down
Loading

0 comments on commit daf559f

Please sign in to comment.