forked from mirrors/thatmattlove-hyperglass
fix pre-commit script
This commit is contained in:
parent
07a3b027cd
commit
ccf9bb1fc0
1 changed files with 2 additions and 2 deletions
|
|
@ -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 "$@"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue