1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

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