Skip to content

Commit ccf9bb1

Browse files
committed
fix pre-commit script
1 parent 07a3b02 commit ccf9bb1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.tests/pre-commit-frontend.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ check_typescript () {
99

1010
check_eslint () {
1111
cd $UI_DIR
12-
node_modules/.bin/eslint .
12+
node_modules/.bin/eslint . --ext .ts --ext .tsx
1313
}
1414

1515
check_prettier () {
1616
cd $UI_DIR
17-
node_modules/.bin/prettier -c -w .
17+
node_modules/.bin/prettier -c .
1818
}
1919

2020
for arg in "$@"

0 commit comments

Comments
 (0)