Skip to content

Commit

Permalink
Pre-commit hooks setup (#56)
Browse files Browse the repository at this point in the history
* husky setup

* lintstaged introduced

* lintstage command improved

* lintstage added as dep

* prepush for tests

* actually no pre-push tests
  • Loading branch information
adam4leos authored Sep 11, 2023
1 parent f2cae01 commit b2ad557
Show file tree
Hide file tree
Showing 3 changed files with 539 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
Loading

0 comments on commit b2ad557

Please sign in to comment.