Skip to content

Commit

Permalink
add pre-commit prettier check
Browse files Browse the repository at this point in the history
  • Loading branch information
Saloni Vaishnav committed Oct 20, 2024
1 parent 8fadf69 commit 13abe72
Show file tree
Hide file tree
Showing 5 changed files with 393 additions and 494 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
npm run format
npx pretty-quick --check
npm run lint
167 changes: 163 additions & 4 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"husky": "^9.1.5",
"prettier": "^3.2.5"
"prettier": "^3.2.5",
"pretty-quick": "^4.0.0"
},
"description": "IllinoisWCS.github.io\r =====================",
"main": "next.config.js",
Expand Down
Loading

0 comments on commit 13abe72

Please sign in to comment.