Skip to content

Commit 7e3de76

Browse files
committed
chore: enable conventional commits
1 parent d83d0a7 commit 7e3de76

File tree

5 files changed

+2351
-70
lines changed

5 files changed

+2351
-70
lines changed

.czrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"path": "./node_modules/cz-conventional-changelog"
3+
}

.husky/commit-msg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx --no -- commitlint --edit $1

commitlint.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import type { UserConfig } from '@commitlint/types';
2+
3+
const Configuration: UserConfig = {
4+
extends: ['@commitlint/config-conventional']
5+
};
6+
7+
export default Configuration;

0 commit comments

Comments
 (0)