Skip to content

Commit

Permalink
chore: update husky config
Browse files Browse the repository at this point in the history
  • Loading branch information
vansergen committed Jan 28, 2024
1 parent 4efcba8 commit c7b44e0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
3 changes: 0 additions & 3 deletions .husky/commit-msg
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx commitlint --edit $1
3 changes: 0 additions & 3 deletions .husky/pre-commit
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -13,7 +13,7 @@
"commitlint": "commitlint --verbose --from=$( git rev-list --max-parents=0 $( git rev-parse --abbrev-ref HEAD ) )",
"install:clean": "npm install",
"preinstall:clean": "rm -rf node_modules package-lock.json",
"prepare": "husky install",
"prepare": "husky",
"prettier": "prettier -c .",
"prettier:write": "npm run prettier -- --write"
},
Expand Down

0 comments on commit c7b44e0

Please sign in to comment.