Skip to content

Added husky #341

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

shivasankaran18
Copy link

Closes #340

Changes

  • Added Husky pre-commit hook to enforce linting and testing before commits.
  • Integrated lint-staged to run ESLint and Prettier on staged files.
  • Configured pre-commit hook to execute tests, ensuring no broken code is committed.

Flags

  • Ensure Husky is properly installed (npx husky install) before running commits.
  • Developers should update their local dependencies after merging this PR (npm install).

Screenshots or Video

N/A

Related Issues

Author Checklist

  • Provided a DCO sign-off using git commit -s or --signoff.
  • Verified that unit tests pass before committing.
  • Ensured commits follow the AP commit message format.
  • Updated documentation (if applicable).
  • Merging into main from fork:branchname.

Signed-off-by: shiva <shiva_05@outlook.com>
@shivasankaran18 shivasankaran18 requested a review from a team as a code owner March 29, 2025 11:39
Copy link

netlify bot commented Mar 29, 2025

Deploy Preview for ap-template-playground ready!

Name Link
🔨 Latest commit d3eae9b
🔍 Latest deploy log https://app.netlify.com/sites/ap-template-playground/deploys/67e7dbeab6d16000086d783f
😎 Deploy Preview https://deploy-preview-341--ap-template-playground.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@shivasankaran18
Copy link
Author

@DianaLease @ekarademir @dselman could you review this PR when u find time ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: Add Husky for Pre-Commit Hooks
1 participant