Skip to content
This repository was archived by the owner on Jun 3, 2023. It is now read-only.

Commit 426c3fc

Browse files
committed
chore(deps): update commitlint and husky config
1 parent 9f02b2d commit 426c3fc

File tree

6 files changed

+9534
-8614
lines changed

6 files changed

+9534
-8614
lines changed

.commitlintrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": ["@commitlint/config-conventional"]
3+
}

.husky/commit-msg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
33

4-
npm exec commithelper -- check --file $1 --fix
4+
npx --no -- commitlint --edit ${1}

.husky/pre-commit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
33

44
node_modules/lint-staged/bin/lint-staged.js

.husky/prepare-commit-msg

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

0 commit comments

Comments
 (0)