Skip to content

Commit e615a05

Browse files
authored
chore: add commitlint and lefthook (#33)
1 parent cffd12c commit e615a05

File tree

3 files changed

+1407
-10
lines changed

3 files changed

+1407
-10
lines changed

lefthook.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
pre-commit:
2+
jobs:
3+
- name: lint
4+
run: npm run lint
5+
6+
commit-msg:
7+
jobs:
8+
- name: commitlint
9+
run: npx commitlint --edit {1}

0 commit comments

Comments
 (0)