Skip to content

Commit fcfac11

Browse files
committed
build: setup commitlint
1 parent 001925e commit fcfac11

File tree

5 files changed

+1445
-64
lines changed

5 files changed

+1445
-64
lines changed

.husky/commit-msg

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
npx commitlint --edit "$1"

.husky/pre-commit

Whitespace-only changes.

commitlint.config.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export default {
2+
extends: ['@commitlint/config-conventional', '@onify/commitlint-config'],
3+
};

0 commit comments

Comments
 (0)