Skip to content

Commit

Permalink
style: switch husky commitlint to @commitlint/cli (#11)
Browse files Browse the repository at this point in the history
Signed-off-by: Yokozuna59 <u.yokozuna@gmail.com>
  • Loading branch information
Yokozuna59 authored May 6, 2023
1 parent d2d2d02 commit 06bfd2f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# shellcheck source=./_/husky.sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no-install -- commitlint --edit "${1}"
npx commitlint --edit "$1"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
"prepare": "husky install"
},
"devDependencies": {
"@commitlint/cli": "^17.6.3",
"@commitlint/config-angular": "^17.6.3",
"@commitlint/format": "^17.4.4",
"commitlint": "^17.6.3",
"conventional-changelog-angular": "^5.0.13",
"husky": "^8.0.3"
},
Expand Down
18 changes: 3 additions & 15 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 06bfd2f

Please sign in to comment.