codesydney / marketplace-app-for-good

1 stars 1 forks source link

Configure Husky and Lint-Staged for Pre-Push Validation #19

Closed promie closed 5 months ago

promie commented 5 months ago

This PR integrates Husky and Lint-Staged into our project workflow. The purpose is to automate linting and code formatting checks with ESLint and Prettier on every git push action. The pre-push hook is configured to run these checks, preventing code with linting errors from being pushed to the repo. If any errors are detected, the push will be aborted, and the developer will be notified to fix the issues before proceeding.

image

davidtaing commented 5 months ago

Thanks for the PR Promie. Merged in