Run root lint-staged in pre-commit hook

[MAILPOET-4075]
This commit is contained in:
Jan Jakes
2022-04-08 12:30:29 +02:00
committed by Veljko V
parent 02c0b2329a
commit f6a3b7e958

View File

@ -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