Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ arguments: -c .oxlintrc.json
working directory: fixtures/issue_11644
----------
Found 0 warnings and 0 errors.
Finished in <variable>ms on 1 file with 165 rules using 1 threads.
Finished in <variable>ms on 1 file with 166 rules using 1 threads.
----------
CLI result: LintSucceeded
----------
6 changes: 6 additions & 0 deletions crates/oxc_linter/src/generated/rule_runner_impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2480,6 +2480,12 @@ impl RuleRunner for crate::rules::react::no_string_refs::NoStringRefs {
const RUN_FUNCTIONS: RuleRunFunctionsImplemented = RuleRunFunctionsImplemented::Run;
}

impl RuleRunner for crate::rules::react::no_this_in_sfc::NoThisInSfc {
const NODE_TYPES: Option<&AstTypesBitset> =
Some(&AstTypesBitset::from_types(&[AstType::ThisExpression]));
const RUN_FUNCTIONS: RuleRunFunctionsImplemented = RuleRunFunctionsImplemented::Run;
}

impl RuleRunner for crate::rules::react::no_unescaped_entities::NoUnescapedEntities {
const NODE_TYPES: Option<&AstTypesBitset> =
Some(&AstTypesBitset::from_types(&[AstType::JSXText]));
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 @@ -390,6 +390,7 @@ pub(crate) mod react {
pub mod no_render_return_value;
pub mod no_set_state;
pub mod no_string_refs;
pub mod no_this_in_sfc;
pub mod no_unescaped_entities;
pub mod no_unknown_property;
pub mod no_unsafe;
Expand Down Expand Up @@ -1098,6 +1099,7 @@ oxc_macros::declare_all_lint_rules! {
react::no_render_return_value,
react::no_set_state,
react::no_string_refs,
react::no_this_in_sfc,
react::no_unescaped_entities,
react::no_unknown_property,
react::no_unsafe,
Expand Down
Loading
Loading