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
3 changes: 2 additions & 1 deletion crates/oxc_linter/data/vitest_compatible_jest_rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@
"require-to-throw-message",
"require-top-level-describe",
"valid-describe-callback",
"valid-expect"
"valid-expect",
"valid-title"
]
3 changes: 2 additions & 1 deletion crates/oxc_linter/src/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pub use self::{
// the crates/oxc_linter/data/vitest_compatible_jest_rules.json
// file is also updated. The JSON file is used by the oxlint-migrate
// and eslint-plugin-oxlint repos to keep everything synced.
const VITEST_COMPATIBLE_JEST_RULES: [&str; 44] = [
const VITEST_COMPATIBLE_JEST_RULES: [&str; 45] = [
"consistent-test-it",
"expect-expect",
"max-expects",
Expand Down Expand Up @@ -82,6 +82,7 @@ const VITEST_COMPATIBLE_JEST_RULES: [&str; 44] = [
"require-top-level-describe",
"valid-describe-callback",
"valid-expect",
"valid-title",
];

/// List of Eslint rules that have TypeScript equivalents.
Expand Down
Loading