Update Husky

This commit is contained in:
Nikita Karamov 2024-02-07 14:51:44 +01:00
parent 146274ebf2
commit c432d71b36
3 changed files with 7 additions and 10 deletions

View file

@ -1,10 +1,7 @@
#!/usr/bin/env sh
# This file is part of Share₂Fedi
# https://github.com/kytta/share2fedi
#
# SPDX-FileCopyrightText: © 2023 Nikita Karamov <me@kytta.dev>
# SPDX-License-Identifier: CC0-1.0
. "$(dirname -- "$0")/_/husky.sh"
npx lint-staged

View file

@ -28,7 +28,7 @@
"fix:prettier": "prettier --write --ignore-unknown --plugin=prettier-plugin-astro",
"fix:stylelint": "stylelint --fix",
"test": "pnpm run check",
"prepare": "husky install"
"prepare": "husky"
},
"browserslist": "cover 95%, last 2 versions, Firefox ESR, not dead",
"dependencies": {
@ -50,7 +50,7 @@
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-astro": "^0.31.4",
"eslint-plugin-unicorn": "^51.0.1",
"husky": "^8.0.3",
"husky": "^9.0.10",
"lint-staged": "^14.0.1",
"prettier": "^3.2.5",
"prettier-plugin-astro": "^0.13.0",

View file

@ -56,8 +56,8 @@ devDependencies:
specifier: ^51.0.1
version: 51.0.1(eslint@8.56.0)
husky:
specifier: ^8.0.3
version: 8.0.3
specifier: ^9.0.10
version: 9.0.10
lint-staged:
specifier: ^14.0.1
version: 14.0.1
@ -3291,9 +3291,9 @@ packages:
engines: {node: '>=16.17.0'}
dev: false
/husky@8.0.3:
resolution: {integrity: sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==}
engines: {node: '>=14'}
/husky@9.0.10:
resolution: {integrity: sha512-TQGNknoiy6bURzIO77pPRu+XHi6zI7T93rX+QnJsoYFf3xdjKOur+IlfqzJGMHIK/wXrLg+GsvMs8Op7vI2jVA==}
engines: {node: '>=18'}
hasBin: true
dev: true