Skip to content

Commit

Permalink
chore(deps-dev): bump husky from 9.0.11 to 9.1.1 (#893)
Browse files Browse the repository at this point in the history
* chore(deps-dev): bump husky from 9.0.11 to 9.1.1

Bumps [husky](https:/typicode/husky) from 9.0.11 to 9.1.1.
- [Release notes](https:/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]>
  • Loading branch information
3 people authored Jul 23, 2024
1 parent ea13f10 commit adca3e4
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1 +1 @@
npx --no -- commitlint --edit "$1"
commitlint --edit "$1"
7 changes: 5 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
echo "### validate branch name ###"
npx validate-branch-name
validate-branch-name
echo "### lint staged files ###"
npx --no -- lint-staged
lint-staged
echo "### prettify staged files ###"
prettier $(git diff --cached --name-only --diff-filter=ACMR | sed 's| |\\ |g') --write --ignore-unknown
git update-index --again
echo "### check for commit mail ###"
node ./scripts/check-commit-mail.mjs
3 changes: 1 addition & 2 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"*.md": "markdownlint -c .markdown-lint.yml",
"*.{css,scss}": "stylelint --fix",
"*.{js,ts,tsx,jsx,mjs,cjs}": ["prettier --write", "xo --fix"],
"!*.{js,ts,tsx,jsx,mjs,cjs}": "prettier --write --ignore-unknown"
"*.{js,ts,tsx,jsx,mjs,cjs}": "xo --fix"
}
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"find-versions-cli": "^5.0.0",
"html-validate": "^8.8.0",
"html5-boilerplate": "^9.0.1",
"husky": "^9.0.11",
"husky": "^9.1.1",
"iframe-resizer": "^4.4.5",
"lint-staged": "^15.2.7",
"markdownlint-cli": "^0.41.0",
Expand Down

0 comments on commit adca3e4

Please sign in to comment.