Skip to content

Commit

Permalink
feat(linter): Implement eslint/prefer-object-has-own (oxc-project#6905
Browse files Browse the repository at this point in the history
)
  • Loading branch information
tbashiyy authored and Orenbek committed Oct 28, 2024
1 parent 5ca338d commit 7d4c567
Show file tree
Hide file tree
Showing 3 changed files with 625 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 @@ -129,6 +129,7 @@ mod eslint {
pub mod no_with;
pub mod prefer_exponentiation_operator;
pub mod prefer_numeric_literals;
pub mod prefer_object_has_own;
pub mod radix;
pub mod require_await;
pub mod require_yield;
Expand Down Expand Up @@ -606,6 +607,7 @@ oxc_macros::declare_all_lint_rules! {
eslint::no_with,
eslint::prefer_exponentiation_operator,
eslint::prefer_numeric_literals,
eslint::prefer_object_has_own,
eslint::radix,
eslint::require_await,
eslint::require_yield,
Expand Down
Loading

0 comments on commit 7d4c567

Please sign in to comment.