Skip to content

Commit daf559f

Browse files
feat(linter): eslint-plugin-jest/no-large-snapshot (#3436)
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>
1 parent ac66de6 commit daf559f

File tree

3 files changed

+661
-0
lines changed

3 files changed

+661
-0
lines changed

crates/oxc_linter/src/rules.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ mod jest {
162162
pub mod no_identical_title;
163163
pub mod no_interpolation_in_snapshots;
164164
pub mod no_jasmine_globals;
165+
pub mod no_large_snapshots;
165166
pub mod no_mocks_import;
166167
pub mod no_restricted_jest_methods;
167168
pub mod no_restricted_matchers;
@@ -536,6 +537,7 @@ oxc_macros::declare_all_lint_rules! {
536537
jest::no_identical_title,
537538
jest::no_interpolation_in_snapshots,
538539
jest::no_jasmine_globals,
540+
jest::no_large_snapshots,
539541
jest::no_mocks_import,
540542
jest::no_restricted_jest_methods,
541543
jest::no_restricted_matchers,

0 commit comments

Comments
 (0)