Skip to content

Commit

Permalink
chore: add commitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
yeager-eren authored and samobasquiat committed Feb 24, 2024
1 parent 249c282 commit 55aea38
Show file tree
Hide file tree
Showing 4 changed files with 288 additions and 12 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 $1
5 changes: 5 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const Configuration = {
extends: ['@commitlint/config-conventional'],
};

module.exports = Configuration;
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
"i18n:compile": "lingui compile --typescript",
"i18n": "yarn i18n:extract && yarn i18n:compile",
"test": "vitest",
"test:coverage": "vitest run --coverage"
"test:coverage": "vitest run --coverage",
"commitlint": "commitlint --edit"
},
"dependencies": {
"husky": "^8.0.3",
Expand All @@ -55,6 +56,8 @@
},
"devDependencies": {
"@babel/core": "^7.22.5",
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.2",
"@lingui/cli": "^4.2.1",
"@nrwl/workspace": "^15.9.2",
"@types/react": "^18.0.26",
Expand Down
Loading

0 comments on commit 55aea38

Please sign in to comment.