Skip to content

Commit 92898bc

Browse files
authored
chore: add commitlint to enforce conventional commits (#365)
1 parent a23d40f commit 92898bc

4 files changed

Lines changed: 776 additions & 0 deletions

File tree

.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: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import type { UserConfig } from '@commitlint/types';
2+
3+
export default {
4+
extends: ['@commitlint/config-conventional'],
5+
} satisfies UserConfig;

0 commit comments

Comments
 (0)