Skip to content

Commit

Permalink
Migrate Husky to v9 (#10403)
Browse files Browse the repository at this point in the history
  • Loading branch information
mondeja committed Feb 6, 2024
1 parent 7616d6f commit fd8f577
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 @@
#!/bin/sh
. "$(dirname $0)/_/husky.sh"

npm run format
git add -u
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"esbuild": "0.19.4",
"fake-diff": "1.0.0",
"get-relative-luminance": "1.0.0",
"husky": "8.0.3",
"husky": "9.0.10",
"is-ci": "3.0.1",
"jsonschema": "1.4.1",
"markdown-link-check": "3.11.2",
Expand All @@ -116,7 +116,7 @@
"jsonlint": "node scripts/lint/jsonlint.js",
"svglint": "svglint icons/*.svg --ci",
"wslint": "editorconfig-checker",
"prepare": "is-ci || husky install",
"prepare": "is-ci || husky",
"prepublishOnly": "npm run build",
"postpublish": "npm run clean",
"test": "mocha tests --reporter tests/min-reporter.cjs --inline-diffs",
Expand Down

0 comments on commit fd8f577

Please sign in to comment.