jonbrunt / ai-portfolio

Personal AI Engineering Portfolio Page
https://ai-portfolio-henna.vercel.app
MIT License
0 stars 0 forks source link

PRE-COMMIT HOOK (FORMATTING AND LINTING) #5

Closed jonbrunt closed 6 months ago

jonbrunt commented 6 months ago

Feature: Pre-Commit Linting

Description

This PR introduces a pre-commit hook for enforcing formatting and linting locally before commits can be made, using husky and lint-staged npm packages. Helps all devs to integrate quality and uniformly-styled code.

Changes

Frontend:

Testing

Notes

Checklist

Tags

enhancement

jonbrunt commented 6 months ago

Why was npm run lint not functioning? We may look into this in the future, but this fix is quick and simple. Will delete the feature branch after the merge. Approved.