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 @@ -23,7 +23,7 @@ working directory:
help: Remove the appending `.skip`

Found 1 warning and 1 error.
Finished in <variable>ms on 1 file with 104 rules using 1 threads.
Finished in <variable>ms on 1 file with 105 rules using 1 threads.
----------
CLI result: LintFoundErrors
----------
5 changes: 5 additions & 0 deletions crates/oxc_linter/src/generated/rule_runner_impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4007,6 +4007,11 @@ impl RuleRunner for crate::rules::unicorn::throw_new_error::ThrowNewError {
const RUN_FUNCTIONS: RuleRunFunctionsImplemented = RuleRunFunctionsImplemented::Run;
}

impl RuleRunner for crate::rules::vitest::consistent_each_for::ConsistentEachFor {
const NODE_TYPES: Option<&AstTypesBitset> = None;
const RUN_FUNCTIONS: RuleRunFunctionsImplemented = RuleRunFunctionsImplemented::RunOnJestNode;
}

impl RuleRunner for crate::rules::vitest::consistent_test_filename::ConsistentTestFilename {
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 @@ -667,6 +667,7 @@ pub(crate) mod promise {
}

pub(crate) mod vitest {
pub mod consistent_each_for;
pub mod consistent_test_filename;
pub mod consistent_vitest_vi;
pub mod hoisted_apis_on_top;
Expand Down Expand Up @@ -1337,6 +1338,7 @@ oxc_macros::declare_all_lint_rules! {
unicorn::switch_case_braces,
unicorn::text_encoding_identifier_case,
unicorn::throw_new_error,
vitest::consistent_each_for,
vitest::consistent_test_filename,
vitest::consistent_vitest_vi,
vitest::hoisted_apis_on_top,
Expand Down
Loading
Loading