Skip to content

Commit

Permalink
build: migrate to husky v9
Browse files Browse the repository at this point in the history
  • Loading branch information
axe312ger committed Jan 8, 2025
1 parent 6fd5cac commit 1bb0d75
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 153 deletions.
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lint-staged
153 changes: 7 additions & 146 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 2 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.2.0",
"express": "^4.21.1",
"husky": "^4.3.8",
"husky": "^9.1.7",
"in-publish": "^2.0.1",
"json-patch": "^0.7.0",
"jsonwebtoken": "^9.0.2",
Expand All @@ -128,19 +128,14 @@
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"*.{js,ts}": [
"prettier --write",
"eslint"
],
"*.md": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"release": {
"branches": [
"master",
Expand Down

0 comments on commit 1bb0d75

Please sign in to comment.