From c2397d3424b22d8eec4391f35338bdbba3598730 Mon Sep 17 00:00:00 2001 From: Boris K Date: Wed, 21 Feb 2024 15:53:38 +0100 Subject: [PATCH] Fix commands for Husky v9 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 53a9113..f4db4ae 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ Setup git hook: ```bash npm pkg set scripts.prepare="husky install" npx husky install -npx husky set .husky/pre-commit "npx lint-staged --concurrent false" +echo "npx lint-staged --concurrent false" > .husky/pre-commit npm pkg set "lint-staged.*"="prettier --write --ignore-unknown" ```