Skip to content

Commit caf73a1

Browse files
committed
chore: add commit lint config
1 parent 3281fae commit caf73a1

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

.husky/commit-msg

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npx --no -- commitlint --edit

.husky/pre-commit

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
pnpx lint-staged
5-
npx lint-staged
4+
npx --no -- lint-staged

codecov.yml

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
ignore:
2-
- bin.js
32
- commitlint.config.js
43
- .eslintrc.js

commitlint.config.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
extends: ['@commitlint/config-conventional'],
3+
};

0 commit comments

Comments
 (0)