Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update husky and lint-staged #6785

Merged
merged 1 commit into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"

yarn lint-staged
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
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
Loading
Loading