Skip to content

Commit

Permalink
feat: commitlint + husky
Browse files Browse the repository at this point in the history
  • Loading branch information
kylemcd committed Feb 1, 2024
1 parent 950615c commit 71ab795
Show file tree
Hide file tree
Showing 4 changed files with 508 additions and 21 deletions.
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
yarn commitlint -E HUSKY_GIT_PARAMS
3 changes: 3 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: ["@commitlint/config-conventional"],
};
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
"dependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.1",
"@commitlint/cli": "^18.6.0",
"@commitlint/config-conventional": "^18.6.0",
"@manypkg/cli": "^0.21.2",
"husky": "^9.0.6",
"prettier": "^3.2.4",
Expand Down
Loading

0 comments on commit 71ab795

Please sign in to comment.