Skip to content

Commit

Permalink
chore: update lint-staged and husky to latest versions (#7649)
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan authored Aug 13, 2024
1 parent 1e227aa commit 497e10f
Show file tree
Hide file tree
Showing 3 changed files with 195 additions and 139 deletions.
5 changes: 1 addition & 4 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
lint-staged
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lint:js": "eslint --ext .js,.ts *.js scripts packages test",
"lint:types": "tsc",
"postinstall": "patch-package",
"prepare": "husky install",
"prepare": "husky",
"serve:dist": "web-dev-server --app-index dist/index.html --open",
"start": "web-dev-server --node-resolve --open /dev",
"test": "web-test-runner",
Expand Down Expand Up @@ -53,9 +53,9 @@
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-simple-import-sort": "^12.0.0",
"glob": "^8.0.3",
"husky": "^8.0.1",
"husky": "^9.1.4",
"lerna": "^4.0.0",
"lint-staged": "^13.2.2",
"lint-staged": "^15.2.9",
"npm-run-all": "^4.1.5",
"patch-package": "^7.0.0",
"postcss-lit": "^1.1.0",
Expand Down
Loading

0 comments on commit 497e10f

Please sign in to comment.