Skip to content

Commit

Permalink
feat: add commitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
stepaniukm committed Apr 30, 2024
1 parent 215a1b3 commit 6abcf39
Show file tree
Hide file tree
Showing 4 changed files with 622 additions and 1 deletion.
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm dlx commitlint --edit $1
1 change: 1 addition & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = { extends: ['@commitlint/config-conventional'] };
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,15 @@
"dev": "turbo dev",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"format:check": "prettier --check \"**/*.{ts,tsx,md}\"",
"lint": "turbo lint"
"lint": "turbo lint",
"prepare": "husky"
},
"prettier": "@vercel/style-guide/prettier",
"devDependencies": {
"@repo/eslint-config": "workspace:*",
"@repo/typescript-config": "workspace:*",
"@vercel/style-guide": "^5.2.0",
"husky": "^9.0.11",
"prettier": "^3.2.5",
"turbo": "latest"
},
Expand All @@ -57,6 +59,8 @@
"pnpm": ">=9"
},
"dependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"autoprefixer": "^10.4.19",
"postcss": "^8.4.38",
"tailwindcss": "^3.4.3"
Expand Down
Loading

0 comments on commit 6abcf39

Please sign in to comment.