From 393a486ef2842789447801bfbba09be8c42e5f3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Dupanovi=C4=87?= Date: Thu, 18 Jul 2024 08:58:33 +0200 Subject: [PATCH] feat(projen): Upgrade Husky hooks Upgrade Husky hooks, following #812. See: https://github.com/typicode/husky/releases/tag/v9.1.0. --- .husky/pre-commit | 2 +- .projenrc.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index e8c3811c..ed92403c 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,2 +1,2 @@ # ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen". -pnpm -q lint-staged +lint-staged diff --git a/.projenrc.ts b/.projenrc.ts index c07e61fb..5a6202bf 100644 --- a/.projenrc.ts +++ b/.projenrc.ts @@ -66,7 +66,7 @@ const project = new Project({ ignorePatterns: ['**/renovate.d.ts', '**/swcrc.d.ts'], }, husky: { - 'pre-commit': 'pnpm -q lint-staged', + 'pre-commit': 'lint-staged', }, lintStaged: {}, lintSynthesized: {},