Skip to content

Commit

Permalink
chore: resolve husky deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
epetrow committed Sep 3, 2024
1 parent 99263a6 commit 2f639f7
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 10 deletions.
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx commitlint -e
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"

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

npm run eslint
npm run update-icons

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"packages/svg-icons"
],
"scripts": {
"setup": "npm install && npx husky install",
"setup": "npm install && npx husky",
"build": "npm run build --workspaces",
"eslint": "eslint \"**/*.js\"",
"migrate": "node scripts/migrate-icons.js",
Expand Down

0 comments on commit 2f639f7

Please sign in to comment.