Skip to content

Commit

Permalink
chore(deps): migrate husky from 8 to 9
Browse files Browse the repository at this point in the history
  • Loading branch information
nsandstrom committed Mar 25, 2024
1 parent 1e5ff02 commit ba58f58
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 14 deletions.
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
3 changes: 0 additions & 3 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run test
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"lint": "eslint . --quiet",
"lint-v": "eslint .",
"build": "echo \"No build step required\"",
"prepare": "if [ -f ./node_modules/.bin/husky ]; then husky install; fi"
"prepare": "husky"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -41,7 +41,7 @@
"@kth/eslint-config-kth": "^3.1.0",
"@types/jest": "^29.5.11",
"eslint": "^8.56.0",
"husky": "^8.0.3",
"husky": "^9.0.11",
"jest": "^29.7.0",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5"
Expand Down

0 comments on commit ba58f58

Please sign in to comment.