From 5b863e76e05e8834d14b7872610a3edbdf565481 Mon Sep 17 00:00:00 2001 From: Jimmy Guzman <30631540+jimmy-guzman@users.noreply.github.com> Date: Wed, 11 Dec 2024 21:21:43 -0600 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20drop=20deprecated=20`vite?= =?UTF-8?q?st/no-done-callback`=20rule=20(#132)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🏁 Closes: #131 --- src/rules/__snapshots__/vitest.spec.ts.snap | 1 - src/rules/vitest.ts | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/rules/__snapshots__/vitest.spec.ts.snap b/src/rules/__snapshots__/vitest.spec.ts.snap index dc72e88..4c9d67e 100644 --- a/src/rules/__snapshots__/vitest.spec.ts.snap +++ b/src/rules/__snapshots__/vitest.spec.ts.snap @@ -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", diff --git a/src/rules/vitest.ts b/src/rules/vitest.ts index e1d4895..703acd7 100644 --- a/src/rules/vitest.ts +++ b/src/rules/vitest.ts @@ -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", @@ -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",