Skip to content

Commit

Permalink
Migrate husky to v9
Browse files Browse the repository at this point in the history
  • Loading branch information
Comp0te committed Nov 15, 2024
1 parent 7d45fc0 commit 786a408
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
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
3 changes: 0 additions & 3 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
npm run ci-check
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"lint": "eslint ./src --ext .js,.jsx,.ts,.tsx",
"tsc": "tsc -p ./ --noEmit",
"test": "jest --no-cache --passWithNoTests",
"prepare": "husky install",
"prepare": "husky",
"locale:extract_pot": "i18next 'src/**/*.{ts,tsx}' && node scripts/locale_extract_pot.js",
"locale:update_translations": "node scripts/locale_update_translations.js",
"ci-check": "npm run format:check && npm run lint && npm run tsc && npm run test",
Expand Down

0 comments on commit 786a408

Please sign in to comment.