Skip to content

Commit

Permalink
feat:common-configuration-firecamp-dev#85-Husky
Browse files Browse the repository at this point in the history
  • Loading branch information
bathini79 committed Nov 5, 2023
1 parent 259a85a commit 04ef1b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

pnpm pre-commit
5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@
"preinstall": "npx only-allow pnpm",
"prepare": "husky install"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.ts": [
"pnpm prettify",
Expand Down

0 comments on commit 04ef1b9

Please sign in to comment.