Skip to content

Commit

Permalink
chore(husky): v9 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
VdustR committed May 1, 2024
1 parent b1b1024 commit 96646a1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

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

TYPE=format pnpm exec lint-staged --concurrent false
pnpm exec lint-staged
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"lint:es": "eslint . --fix --report-unused-disable-directives --max-warnings 0",
"lint:prettier": "prettier --ignore-unknown --write .",
"lint:style": "stylelint '**/*.{css,js,jsx,ts,tsx}' --fix -i .stylelintignore",
"prepare": "husky install"
"prepare": "husky"
},
"dependencies": {
"@emotion/react": "^11.11.4",
Expand Down

0 comments on commit 96646a1

Please sign in to comment.