diff --git a/.husky/scripts_lint.sh b/.husky/scripts_lint.sh index a29f7607..b6298c27 100755 --- a/.husky/scripts_lint.sh +++ b/.husky/scripts_lint.sh @@ -3,6 +3,5 @@ scripts_changed="$(git diff --staged --name-only --diff-filter=ACMR -- 'tests/**/*.ts' 'tests/**/*.js' 'scripts/**/*.ts' 'scripts/**/*.mts' 'scripts/**/*.js' 'sites/**/*.js' 'sites/**/*.ts' | sed 's| |\\ |g')" if [ ! -z "$scripts_changed" ]; then - echo "npx eslint $scripts_changed" npx eslint $scripts_changed fi \ No newline at end of file