Skip to content

Commit

Permalink
fix: πŸ› drop deprecated vitest/no-done-callback rule (#132)
Browse files Browse the repository at this point in the history
🏁 Closes: #131
  • Loading branch information
jimmy-guzman authored Dec 12, 2024
1 parent e356de4 commit 5b863e7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/rules/__snapshots__/vitest.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ exports[`should create vitest rules 1`] = `
"vitest/no-commented-out-tests": "error",
"vitest/no-conditional-in-test": "error",
"vitest/no-disabled-tests": "warn",
"vitest/no-done-callback": "error",
"vitest/no-duplicate-hooks": "error",
"vitest/no-focused-tests": "error",
"vitest/no-hooks": "off",
Expand Down
2 changes: 0 additions & 2 deletions src/rules/vitest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export const vitestRules = async () => {
// "vitest/no-confusing-set-timeout": "error", // missing
// "vitest/no-deprecated-functions": "error", // missing
"vitest/no-disabled-tests": "warn",
"vitest/no-done-callback": "error",
"vitest/no-duplicate-hooks": "error",
// "vitest/no-export": "error", // missing
"vitest/no-focused-tests": "error",
Expand Down Expand Up @@ -57,7 +56,6 @@ export const vitestRules = async () => {
"vitest/require-to-throw-message": "error",
"vitest/require-top-level-describe": "off",
// "vitest/unbound-method": "off", // requires typescript, missing https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/unbound-method.md
"vitest/valid-describe-callback": "error",
"vitest/valid-expect": "error",
"vitest/valid-expect-in-promise": "error",
"vitest/valid-title": "error",
Expand Down

0 comments on commit 5b863e7

Please sign in to comment.