Skip to content

Commit

Permalink
feat: update husky and lintstaged
Browse files Browse the repository at this point in the history
  • Loading branch information
rin-st committed Oct 10, 2024
1 parent d8f6228 commit 194775b
Show file tree
Hide file tree
Showing 3 changed files with 241 additions and 134 deletions.
3 changes: 0 additions & 3 deletions .husky/pre-commit
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn lint-staged --verbose
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@
"next:check-types": "yarn workspace @se-2/nextjs check-types",
"next:build": "yarn workspace @se-2/nextjs build",
"next:serve": "yarn workspace @se-2/nextjs serve",
"postinstall": "husky install",
"postinstall": "husky",
"precommit": "lint-staged",
"vercel": "yarn workspace @se-2/nextjs vercel",
"vercel:yolo": "yarn workspace @se-2/nextjs vercel:yolo"
},
"packageManager": "yarn@3.2.3",
"devDependencies": {
"husky": "^8.0.1",
"lint-staged": "^13.0.3"
"husky": "^9.1.6",
"lint-staged": "^15.2.10"
},
"engines": {
"node": ">=18.18.0"
Expand Down
Loading

0 comments on commit 194775b

Please sign in to comment.