Skip to content

Commit

Permalink
Add Precommit for Prettier (#79)
Browse files Browse the repository at this point in the history
* install pretty-quick

* install simple-git-hooks

* configure simple-git-hooks
  • Loading branch information
erayerdin authored Feb 17, 2024
1 parent cd9dd9d commit 8511bd0
Show file tree
Hide file tree
Showing 2 changed files with 171 additions and 2 deletions.
168 changes: 166 additions & 2 deletions package-lock.json

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

5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@
"happy-dom": "^13.2.0",
"jsdom": "^23.2.0",
"prettier": "^3.2.4",
"pretty-quick": "^4.0.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"simple-git-hooks": "^2.9.0",
"sleep-sleep": "^1.1.6",
"typescript": "^5.3.3",
"vite": "^5.0.12",
Expand All @@ -71,5 +73,8 @@
"peerDependencies": {
"firebase": "^10.7.2",
"react": "^18.2.0"
},
"simple-git-hooks": {
"pre-commit": "npx pretty-quick --staged"
}
}

0 comments on commit 8511bd0

Please sign in to comment.