From f6a3b7e958dbc666c09a2ebc56f4b091fd50b04c Mon Sep 17 00:00:00 2001 From: Jan Jakes Date: Fri, 8 Apr 2022 12:30:29 +0200 Subject: [PATCH] Run root lint-staged in pre-commit hook [MAILPOET-4075] --- .husky/pre-commit | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index c402273d28..ac4279c93a 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,5 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -cd mailpoet && npx lint-staged +npx lint-staged -c mailpoet/package.json --cwd mailpoet +npx lint-staged -c package.json