From 5ad160e8ddd9fb2bdd6099b0d0a88185a3fb69e6 Mon Sep 17 00:00:00 2001 From: wang-yuanbai <603970629@qq.com> Date: Thu, 7 Dec 2023 18:23:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4leftHook?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lefthook.yml | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 lefthook.yml diff --git a/lefthook.yml b/lefthook.yml deleted file mode 100644 index 5e5d1f4783..0000000000 --- a/lefthook.yml +++ /dev/null @@ -1,17 +0,0 @@ -pre-commit: - parallel: true - commands: - lint: - glob: "*.{js,ts,tsx}" - run: yarn lint {staged_files} - types: - glob: "*.{json,js,ts,tsx}" - run: yarn tsc --noEmit - test: - glob: "*.{json,js,ts,tsx}" - run: yarn test -commit-msg: - parallel: true - commands: - commitlint: - run: yarn commitlint --edit