diff --git a/.husky/pre-commit b/.husky/pre-commit index 829b717cb..186d7f66e 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,5 +1,2 @@ -#!/bin/sh -. "$(dirname $0)/_/husky.sh" - npm run format git add -u diff --git a/package.json b/package.json index 218d32f8f..8a1d809b7 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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",