Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions crates/oxc_linter/src/generated/rule_runner_impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@ impl RuleRunner for crate::rules::eslint::block_scoped_var::BlockScopedVar {
const RUN_FUNCTIONS: RuleRunFunctionsImplemented = RuleRunFunctionsImplemented::Run;
}

impl RuleRunner for crate::rules::eslint::camelcase::Camelcase {
const NODE_TYPES: Option<&AstTypesBitset> = Some(&AstTypesBitset::from_types(&[
AstType::BindingIdentifier,
AstType::IdentifierReference,
AstType::ObjectProperty,
]));
const RUN_FUNCTIONS: RuleRunFunctionsImplemented = RuleRunFunctionsImplemented::Run;
}

impl RuleRunner for crate::rules::eslint::class_methods_use_this::ClassMethodsUseThis {
const NODE_TYPES: Option<&AstTypesBitset> = Some(&AstTypesBitset::from_types(&[
AstType::AccessorProperty,
Expand Down
2 changes: 2 additions & 0 deletions crates/oxc_linter/src/rules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ pub(crate) mod eslint {
pub mod array_callback_return;
pub mod arrow_body_style;
pub mod block_scoped_var;
pub mod camelcase;
pub mod class_methods_use_this;
pub mod constructor_super;
pub mod curly;
Expand Down Expand Up @@ -694,6 +695,7 @@ oxc_macros::declare_all_lint_rules! {
eslint::max_nested_callbacks,
eslint::max_params,
eslint::new_cap,
eslint::camelcase,
eslint::no_useless_computed_key,
eslint::no_unassigned_vars,
eslint::no_extra_bind,
Expand Down
Loading
Loading