Skip to content

Commit

Permalink
DEAR-125: upgrade husky
Browse files Browse the repository at this point in the history
  • Loading branch information
baurnick committed Jul 21, 2024
1 parent 623aaad commit 2471425
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
5 changes: 1 addition & 4 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
npx lint-staged
2 changes: 1 addition & 1 deletion 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 @@
"start": "next start",
"lint": "next lint",
"format": "prettier --write .",
"prepare": "husky install",
"prepare": "husky",
"clean": "rm -rf node_modules package-lock.json && rm -rf .next && npm install"
},
"dependencies": {
Expand Down Expand Up @@ -66,7 +66,7 @@
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.2",
"eslint-plugin-react-hooks": "^4.6.2",
"husky": "^9.0.11",
"husky": "^9.1.1",
"jsonwebtoken": "^9.0.2",
"lint-staged": "^15.2.7",
"postcss": "^8",
Expand Down

0 comments on commit 2471425

Please sign in to comment.