From 21acfad969082ffc555a685928af7dbcb2cdd123 Mon Sep 17 00:00:00 2001 From: Case Date: Mon, 9 Sep 2024 18:55:45 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=89=B9=E6=80=A7:=20=F0=9F=9A=80=201?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lefthook.yml | 2 +- packages/hooks/typesImport.d.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lefthook.yml b/lefthook.yml index e068607..8e68917 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -2,5 +2,5 @@ pre-commit: commands: check: glob: "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}" - run: npx @biomejs/biome check --write --no-errors-on-unmatched --files-ignore-unknown=true --colors=off {staged_files} + run: npx @biomejs/biome lint --write --no-errors-on-unmatched --files-ignore-unknown=true --colors=off {staged_files} stage_fixed: true diff --git a/packages/hooks/typesImport.d.ts b/packages/hooks/typesImport.d.ts index 08e8c73..0ce0ca8 100644 --- a/packages/hooks/typesImport.d.ts +++ b/packages/hooks/typesImport.d.ts @@ -51,7 +51,6 @@ declare global { const readonly: typeof import('vue')['readonly'] const ref: typeof import('vue')['ref'] const resolveComponent: typeof import('vue')['resolveComponent'] - const resolveDirective: typeof import('vue')['resolveDirective'] const setActivePinia: typeof import('pinia')['setActivePinia'] const setMapStoreSuffix: typeof import('pinia')['setMapStoreSuffix'] const shallowReactive: typeof import('vue')['shallowReactive']