Skip to content

Commit

Permalink
chore: update husky and lint-staged (#6785)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyletsang committed Mar 26, 2024
1 parent 78c22ee commit 78a0e5f
Show file tree
Hide file tree
Showing 3 changed files with 114 additions and 94 deletions.
3 changes: 0 additions & 3 deletions .husky/pre-commit
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn lint-staged
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -48,7 +48,7 @@
"tdd": "karma start",
"test": "npm run lint && npm run test-browser",
"test-browser": "cross-env NODE_ENV=test karma start --single-run",
"prepare": "husky install"
"prepare": "husky"
},
"lint-staged": {
"*.{js,ts,tsx}": "eslint --fix"
Expand Down Expand Up @@ -115,7 +115,7 @@
"eslint-plugin-react": "^7.33.2",
"execa": "^5.1.1",
"fs-extra": "^10.1.0",
"husky": "^8.0.3",
"husky": "^9.0.11",
"karma": "^6.4.3",
"karma-chrome-launcher": "^3.2.0",
"karma-cli": "^2.0.0",
Expand All @@ -126,7 +126,7 @@
"karma-sinon-chai": "^2.0.2",
"karma-sourcemap-loader": "^0.4.0",
"karma-webpack": "^5.0.1",
"lint-staged": "^13.3.0",
"lint-staged": "^15.2.2",
"lodash": "^4.17.21",
"mocha": "^10.2.0",
"prettier": "^2.8.8",
Expand Down

0 comments on commit 78a0e5f

Please sign in to comment.