Skip to content
Open
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 @@ -31,6 +31,15 @@ working directory: fixtures/cli/overrides_with_plugin
`----
help: Add assertion(s) in this Test

! eslint-plugin-vitest(expect-expect): Test has no assertions
,-[index.test.ts:4:3]
3 |
4 | it("", () => {});
: ^^
5 | // ^ jest/no-valid-title error as explicitly set in the `.test.ts` override
`----
help: Add assertion(s) in this Test

x eslint-plugin-jest(valid-title): Should not have an empty title
,-[index.test.ts:4:6]
3 |
Expand Down Expand Up @@ -58,7 +67,7 @@ working directory: fixtures/cli/overrides_with_plugin
`----
help: Consider removing this declaration.

Found 2 warnings and 4 errors.
Found 3 warnings and 4 errors.
Finished in <variable>ms on 2 files with 93 rules using 1 threads.
----------
CLI result: LintFoundErrors
Expand Down
1 change: 0 additions & 1 deletion crates/oxc_linter/data/vitest_compatible_jest_rules.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[
"expect-expect",
"max-expects",
"max-nested-describe",
"no-alias-methods",
Expand Down
5 changes: 5 additions & 0 deletions crates/oxc_linter/src/generated/rule_runner_impls.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 25 additions & 1 deletion crates/oxc_linter/src/generated/rules_enum.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions crates/oxc_linter/src/rules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,7 @@ pub(crate) mod vitest {
pub mod consistent_test_filename;
pub mod consistent_test_it;
pub mod consistent_vitest_vi;
pub mod expect_expect;
pub mod hoisted_apis_on_top;
pub mod no_conditional_tests;
pub mod no_import_node_test;
Expand Down Expand Up @@ -753,6 +754,7 @@ pub(crate) mod vue {

pub(crate) mod shared {
pub mod consistent_test_it;
pub mod expect_expect;
pub mod valid_title;
}

Expand Down
Loading
Loading