Skip to content

Commit 13abe72

Browse files
author
Saloni Vaishnav
committed
add pre-commit prettier check
1 parent 8fadf69 commit 13abe72

File tree

5 files changed

+393
-494
lines changed

5 files changed

+393
-494
lines changed

.husky/pre-commit

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
npm run format
1+
npx pretty-quick --check
22
npm run lint

package-lock.json

+163-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
"eslint-plugin-react": "^7.28.0",
3030
"eslint-plugin-react-hooks": "^4.3.0",
3131
"husky": "^9.1.5",
32-
"prettier": "^3.2.5"
32+
"prettier": "^3.2.5",
33+
"pretty-quick": "^4.0.0"
3334
},
3435
"description": "IllinoisWCS.github.io\r =====================",
3536
"main": "next.config.js",

0 commit comments

Comments
 (0)