Skip to content

Commit 036cceb

Browse files
committed
chore(husky): migrate config
1 parent 8843469 commit 036cceb

File tree

4 files changed

+15
-6
lines changed

4 files changed

+15
-6
lines changed

.husky/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

.husky/commit-msg

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/sh
2+
3+
[ -n "$CI" ] && exit 0
4+
5+
. "$(dirname "$0")/_/husky.sh"
6+
7+
npx --no-install commitlint --edit "$1"

.husky/pre-commit

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/sh
2+
3+
[ -n "$CI" ] && exit 0
4+
5+
. "$(dirname "$0")/_/husky.sh"
6+
7+
npx --no-install lint-staged

.huskyrc.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)