Skip to content

Commit

Permalink
Fix deprecated husky setup
Browse files Browse the repository at this point in the history
  • Loading branch information
MatiPl01 committed Nov 16, 2024
1 parent 0a269a8 commit 738b20b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
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"

yarn lint-staged
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"postinstall": "yarn library:install",
"prepare": "husky install"
"prepare": "husky"
},
"type": "module"
}
3 changes: 0 additions & 3 deletions template/.husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn lint-staged

0 comments on commit 738b20b

Please sign in to comment.