Skip to content

Commit

Permalink
build: migrate to husky v9
Browse files Browse the repository at this point in the history
  • Loading branch information
setchy committed Feb 15, 2024
1 parent ca98783 commit c48326c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

pnpx lint-staged
pnpm test -- --onlyChanged
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"prettier:apply": "prettier --write 'src/**/*.{js,ts,tsx}'",
"test": "jest",
"start": "electron . --enable-logging",
"prepare": "husky install"
"prepare": "husky"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -144,4 +144,4 @@
"lint-staged": {
"*.{md,js,ts,tsx}": "prettier --write"
}
}
}

0 comments on commit c48326c

Please sign in to comment.