We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96faa53 commit f55f2bcCopy full SHA for f55f2bc
.husky/scripts_lint.sh
@@ -3,6 +3,5 @@
3
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')"
4
5
if [ ! -z "$scripts_changed" ]; then
6
- echo "npx eslint $scripts_changed"
7
npx eslint $scripts_changed
8
fi
0 commit comments