Skip to content

Commit 8bc43f2

Browse files
Replace husky install with husky, update husky hook file (#41)
* 🔧 chore: Update package.json, replace husky install with husky * 🔧 chore: Update husky hooks config --------- Co-authored-by: CanisMinor <i@canisminor.cc>
1 parent 06a1124 commit 8bc43f2

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

.husky/commit-msg

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

42
npx --no -- commitlint --edit ${1}

.husky/pre-commit

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

42
npx --no-install lint-staged

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"lint": "eslint \"{src,api,lib}/**/*.{js,jsx,ts,tsx}\" --fix",
5454
"lint:md": "remark . --quiet --frail --output",
5555
"lint:style": "stylelint \"{src,tests}/**/*.{js,jsx,ts,tsx}\" --fix",
56-
"prepare": "husky install && npm run setup",
56+
"prepare": "husky && npm run setup",
5757
"prepublishOnly": "npm run build",
5858
"prettier": "prettier -c --write \"**/**\"",
5959
"release": "semantic-release",

0 commit comments

Comments
 (0)