From 2606b0b8a60f57e1137a8ee69ed747c019defdb3 Mon Sep 17 00:00:00 2001 From: dw-0 Date: Fri, 4 Oct 2024 21:16:14 +0200 Subject: [PATCH] refactor: switch to auto format any uncommited files in pre-commit hook Signed-off-by: Dominik Willner --- .husky/pre-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 7b910fae2..3dcf4656f 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -4,4 +4,4 @@ npm run lint --quiet || exit 1 # Run format:check on modified and uncommitted files and abort if there are any formatting errors -npm run format:check --uncommitted || exit 1 +npm run format:write --uncommitted || exit 1