Skip to content

Commit c20b7db

Browse files
committed
build: added ESLint check to pre-commit and pre-push hook
1 parent c63c996 commit c20b7db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
mago format --check && composer validate && composer test && pnpm pretty-quick --staged && pnpm test
1+
mago format --check && composer validate && composer test && pnpm pretty-quick --staged && pnpm eslint . && pnpm test

.husky/pre-push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
composer validate && composer test && pnpm pretty-quick --staged && pnpm test
1+
composer validate && composer test && pnpm pretty-quick --staged && pnpm eslint . && pnpm test

0 commit comments

Comments
 (0)