Skip to content

Commit

Permalink
style: update hooks and linters
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioArnt committed May 26, 2023
1 parent 4195440 commit a97584c
Show file tree
Hide file tree
Showing 11 changed files with 545 additions and 27 deletions.
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx commitlint --edit $1
2 changes: 1 addition & 1 deletion pre-commit → .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

undefined
npx lint-staged
2 changes: 1 addition & 1 deletion pre-push → .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

undefined
npm run lint
Loading

0 comments on commit a97584c

Please sign in to comment.