From 9f2d402d8c74aec2aa1cc8dc0cfe173357ab5686 Mon Sep 17 00:00:00 2001 From: Chlod Alejandro Date: Tue, 29 Aug 2023 09:04:29 +0800 Subject: [PATCH] call npx in husky pre-commit --- .husky/pre-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 7826160..92cb74b 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,5 +1,5 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -eslint --fix src +npx eslint --fix src npm test