HackAtUCI / irvinehacks-site

Site for IrvineHacks 2024 through 2025
https://irvinehacks.com
1 stars 1 forks source link

Configure pre-commit hooks to format, lint, and test code #299

Open taesungh opened 10 months ago

taesungh commented 10 months ago

Following from #295, we can use pre-commit hooks to ensure the linters and test runners all pass during git commit to avoid additional comments by reviewdog during the checks workflow. We should have appropriate npm scripts for formatting, linting, and testing defined in the package.json files, so we can run each of those during pre-commit.