Skip to content

Commit

Permalink
ci(husky): upgrade config to v9
Browse files Browse the repository at this point in the history
  • Loading branch information
ivangabriele committed Feb 7, 2024
1 parent dc2ea89 commit 3428a71
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

[ -n "$CI" ] && exit 0

npx commitlint --edit "$1"
yarn commitlint --edit "$1"
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

[ -n "$CI" ] && exit 0

npm run test:lint
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"./packages/*"
],
"scripts": {
"prepare": "husky install",
"prepare": "husky",
"test:lint": "eslint --config=./.eslintrc.dev.json .",
"test:unit": "yarn workspaces foreach --all run test:unit"
},
Expand Down

0 comments on commit 3428a71

Please sign in to comment.