Skip to content

Commit

Permalink
feat(lint-unicorn): add rule prefer set has
Browse files Browse the repository at this point in the history
  • Loading branch information
jordan-boyer committed Nov 1, 2024
1 parent 0bb1aa4 commit 4a7877c
Show file tree
Hide file tree
Showing 3 changed files with 1,174 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 @@ -349,6 +349,7 @@ mod unicorn {
pub mod prefer_query_selector;
pub mod prefer_reflect_apply;
pub mod prefer_regexp_test;
pub mod prefer_set_has;
pub mod prefer_set_size;
pub mod prefer_spread;
pub mod prefer_string_replace_all;
Expand Down Expand Up @@ -930,6 +931,7 @@ oxc_macros::declare_all_lint_rules! {
unicorn::prefer_query_selector,
unicorn::prefer_reflect_apply,
unicorn::prefer_regexp_test,
unicorn::prefer_set_has,
unicorn::prefer_set_size,
unicorn::prefer_spread,
unicorn::prefer_string_replace_all,
Expand Down
Loading

0 comments on commit 4a7877c

Please sign in to comment.