Skip to content

Commit

Permalink
Setup husky pre-commit hook no-op
Browse files Browse the repository at this point in the history
  • Loading branch information
dotNomad committed Mar 29, 2024
1 parent 0415f0a commit 22c2fad
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# npm run check-format
16 changes: 16 additions & 0 deletions package-lock.json

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

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
"private": true,
"scripts": {
"format": "prettier . --write",
"check-format": "prettier . --check"
"check-format": "prettier . --check",
"prepare": "husky"
},
"devDependencies": {
"husky": "^9.0.11",
"prettier": "3.2.5"
}
}

0 comments on commit 22c2fad

Please sign in to comment.