Skip to content
Closed
2 changes: 2 additions & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,5 @@ inferrable = "inferrable"
[default.extend-identifiers]
IIFEs = "IIFEs"
allowIIFEs = "allowIIFEs"
fo_o = "fo_o"
ba_r = "ba_r"
17 changes: 17 additions & 0 deletions crates/oxc_linter/src/generated/rule_runner_impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,23 @@ 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::AssignmentExpression,
AstType::BreakStatement,
AstType::ContinueStatement,
AstType::ExportAllDeclaration,
AstType::ExportSpecifier,
AstType::LabeledStatement,
AstType::MethodDefinition,
AstType::ObjectProperty,
AstType::PrivateIdentifier,
AstType::PropertyDefinition,
AstType::UpdateExpression,
]));
const RUN_FUNCTIONS: RuleRunFunctionsImplemented = RuleRunFunctionsImplemented::Unknown;
}

impl RuleRunner for crate::rules::eslint::capitalized_comments::CapitalizedComments {
const NODE_TYPES: Option<&AstTypesBitset> = None;
const RUN_FUNCTIONS: RuleRunFunctionsImplemented = RuleRunFunctionsImplemented::RunOnce;
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 @@ -44,6 +44,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 capitalized_comments;
pub mod class_methods_use_this;
pub mod constructor_super;
Expand Down Expand Up @@ -691,6 +692,7 @@ oxc_macros::declare_all_lint_rules! {
eslint::array_callback_return,
eslint::arrow_body_style,
eslint::block_scoped_var,
eslint::camelcase,
eslint::capitalized_comments,
eslint::class_methods_use_this,
eslint::constructor_super,
Expand Down
Loading
Loading