Skip to content

Commit

Permalink
build(dev-deps): update husky and lint-staged (#666)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsanders11 authored Nov 10, 2024
1 parent 45ccfcf commit 3f1b2c0
Show file tree
Hide file tree
Showing 3 changed files with 176 additions and 166 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"

npx lint-staged
11 changes: 3 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"lint": "npx tsc --noEmit && prettier . --check && npm run lint:eslint && npm run lint:markdown",
"lint:fix": "prettier . --write && npm run lint:eslint --fix && npm run lint:markdown --fix",
"pre-build": "npx tsx ./scripts/pre-build.ts",
"prepare": "husky install"
"prepare": "husky"
},
"dependencies": {
"@docusaurus/core": "3.6.1",
Expand Down Expand Up @@ -80,13 +80,13 @@
"gray-matter": "^4.0.3",
"gunzip-maybe": "^1.4.2",
"hast-util-from-html": "^2.0.1",
"husky": "^8.0.0",
"husky": "^9.1.6",
"image-minimizer-webpack-plugin": "^4.0.2",
"imagemin": "^9.0.0",
"imagemin-pngquant": "^10.0.0",
"json5": "^2.2.2",
"latest-version": "^5.1.0",
"lint-staged": "^13.2.0",
"lint-staged": "^15.2.10",
"markdownlint-cli2": "^0.13.0",
"mdast-util-from-markdown": "^2.0.1",
"mdast-util-frontmatter": "^2.0.1",
Expand Down Expand Up @@ -119,11 +119,6 @@
"eslint --fix"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"resolutions": {
"http-cache-semantics": "4.1.1",
"markdownlint-cli2/micromatch": "4.0.8"
Expand Down
Loading

0 comments on commit 3f1b2c0

Please sign in to comment.