Skip to content

Commit adca3e4

Browse files
chore(deps-dev): bump husky from 9.0.11 to 9.1.1 (#893)
* chore(deps-dev): bump husky from 9.0.11 to 9.1.1 Bumps [husky](https://github.com/typicode/husky) from 9.0.11 to 9.1.1. - [Release notes](https://github.com/typicode/husky/releases) - [Commits](typicode/husky@v9.0.11...v9.1.1) --- updated-dependencies: - dependency-name: husky dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Update commit-msg * refactor: further adaptions due to husky update --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Maximilian Franzke <[email protected]> Co-authored-by: Maximilian Franzke <[email protected]>
1 parent ea13f10 commit adca3e4

File tree

5 files changed

+16
-14
lines changed

5 files changed

+16
-14
lines changed

.husky/commit-msg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
npx --no -- commitlint --edit "$1"
1+
commitlint --edit "$1"

.husky/pre-commit

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
echo "### validate branch name ###"
2-
npx validate-branch-name
2+
validate-branch-name
33
echo "### lint staged files ###"
4-
npx --no -- lint-staged
4+
lint-staged
5+
echo "### prettify staged files ###"
6+
prettier $(git diff --cached --name-only --diff-filter=ACMR | sed 's| |\\ |g') --write --ignore-unknown
7+
git update-index --again
58
echo "### check for commit mail ###"
69
node ./scripts/check-commit-mail.mjs

.lintstagedrc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"*.md": "markdownlint -c .markdown-lint.yml",
33
"*.{css,scss}": "stylelint --fix",
4-
"*.{js,ts,tsx,jsx,mjs,cjs}": ["prettier --write", "xo --fix"],
5-
"!*.{js,ts,tsx,jsx,mjs,cjs}": "prettier --write --ignore-unknown"
4+
"*.{js,ts,tsx,jsx,mjs,cjs}": "xo --fix"
65
}

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"find-versions-cli": "^5.0.0",
8282
"html-validate": "^8.8.0",
8383
"html5-boilerplate": "^9.0.1",
84-
"husky": "^9.0.11",
84+
"husky": "^9.1.1",
8585
"iframe-resizer": "^4.4.5",
8686
"lint-staged": "^15.2.7",
8787
"markdownlint-cli": "^0.41.0",

0 commit comments

Comments
 (0)