Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update husky to v9
Browse files Browse the repository at this point in the history
coderbyheart committed Jan 30, 2024

Verified

This commit was signed with the committer’s verified signature.
ericvergnaud Eric Vergnaud
1 parent 0734888 commit b4b668f
Showing 4 changed files with 34 additions and 15 deletions.
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx commitlint --edit $1
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged && npm test
40 changes: 32 additions & 8 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
"build": "react-scripts --openssl-legacy-provider --max_old_space_size=4096 build",
"test": "npx tsx --test ./src/**/*.spec.ts",
"eject": "react-scripts eject",
"prepare": "husky install"
"prepare": "husky"
},
"repository": {
"type": "git",
@@ -76,6 +76,7 @@
"eslint-plugin-jsx-a11y": "6.8.0",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"husky": "9.0.7",
"react-scripts": "4.0.3"
},
"lint-staged": {

0 comments on commit b4b668f

Please sign in to comment.