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:
@@ -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 "$@"
|
||||
|
Reference in New Issue
Block a user