Skip to content

Commit 2b12248

Browse files
committed
chore(husky): migrate configuration to v5
Refs #1908
1 parent 23de6c6 commit 2b12248

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-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: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
commitlint -e

.husky/pre-commit

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

.huskyrc

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

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"deps_check_dir": ".deps_check"
3030
},
3131
"scripts": {
32+
"postinstall": "husky install",
3233
"automated-release": "release-it --config ./release/.release-it.json",
3334
"build": "run-s build:umd:browser build:commonjs build:es",
3435
"build:umd:browser": "cross-env BABEL_ENV=browser webpack --progress --config config/webpack/browser.config.babel.js",

0 commit comments

Comments
 (0)