fix pre-commit script

This commit is contained in:
checktheroads 2021-01-10 01:13:30 -07:00
parent 07a3b027cd
commit ccf9bb1fc0

View file

@ -9,12 +9,12 @@ check_typescript () {
check_eslint () {
cd $UI_DIR
node_modules/.bin/eslint .
node_modules/.bin/eslint . --ext .ts --ext .tsx
}
check_prettier () {
cd $UI_DIR
node_modules/.bin/prettier -c -w .
node_modules/.bin/prettier -c .
}
for arg in "$@"