Skip to content

Commit

Permalink
chore: configure commitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
lewxdev committed Jun 25, 2024
1 parent fb2f91a commit 3407d4b
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env sh

bun commitlint --edit $1
6 changes: 5 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{
"recommendations": ["bradlc.vscode-tailwindcss", "esbenp.prettier-vscode"]
"recommendations": [
"bradlc.vscode-tailwindcss",
"esbenp.prettier-vscode",
"joshbolduc.commitlint"
]
}
Binary file modified bun.lockb
Binary file not shown.
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,20 @@
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20240529.0",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@hono/vite-dev-server": "^0.12.2",
"husky": "^9.0.11",
"lint-staged": "^15.2.7",
"prettier": "^3.3.2",
"vite": "^5.3.1",
"wrangler": "^3.57.2"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*": "prettier --cache --ignore-unknown --write"
},
Expand Down

0 comments on commit 3407d4b

Please sign in to comment.