From 2be44f8bb72568aed47445a0134b6f07332c00e8 Mon Sep 17 00:00:00 2001 From: Richard Kenigs Date: Mon, 25 Nov 2024 10:27:28 +0100 Subject: [PATCH 1/2] add type check to lefthook --- lefthook.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lefthook.yml b/lefthook.yml index 6fb018aa..aaada60c 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -7,3 +7,5 @@ pre-commit: stage_fixed: true spell: run: pnpm cspell --no-summary --no-progress --no-must-find-files --files {staged_files} + type-check: + run: pnpm typecheck From 516f8f8b14fb8fb89febf1bb2c78bab5de1c7726 Mon Sep 17 00:00:00 2001 From: Richard Kenigs Date: Mon, 25 Nov 2024 10:28:06 +0100 Subject: [PATCH 2/2] remove type check --- lefthook.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/lefthook.yml b/lefthook.yml index aaada60c..6fb018aa 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -7,5 +7,3 @@ pre-commit: stage_fixed: true spell: run: pnpm cspell --no-summary --no-progress --no-must-find-files --files {staged_files} - type-check: - run: pnpm typecheck