Skip to content

Commit

Permalink
fix: husky precommit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
Dieter Stinglhamber committed Dec 19, 2023
1 parent caefe77 commit 0b2cc4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
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"

pnpm lint-staged
5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"author": "Elhebert",
"license": "MIT",
"dependencies": {
Expand Down

0 comments on commit 0b2cc4c

Please sign in to comment.