Skip to content

Commit

Permalink
⬆️ chore: upgrade husky
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed May 27, 2024
1 parent 9724dec commit 2389501
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no -- commitlint --edit ${1}
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no-install lint-staged
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"lint": "eslint \"{src,api,docs}/**/*.{js,jsx,ts,tsx}\" --fix",
"lint:md": "remark . --quiet --frail --output",
"lint:style": "stylelint \"src/**/*.{js,jsx,ts,tsx}\" --fix",
"prepare": "husky install",
"prepare": "husky",
"prepublishOnly": "npm run doctor && npm run build",
"prettier": "prettier -c --write \"**/**\"",
"release": "semantic-release",
Expand Down Expand Up @@ -82,7 +82,7 @@
"commitlint": "^19.3.0",
"cross-env": "^7.0.3",
"eslint": "^8.57.0",
"husky": "^8.0.3",
"husky": "^9.0.11",
"lint-staged": "^15.2.5",
"prettier": "^3.2.5",
"remark": "^14.0.3",
Expand Down

0 comments on commit 2389501

Please sign in to comment.