Skip to content
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

set up .githooks to test on pre-commit #3

Open
VarunGitGood opened this issue Jun 2, 2023 · 4 comments · May be fixed by #4
Open

set up .githooks to test on pre-commit #3

VarunGitGood opened this issue Jun 2, 2023 · 4 comments · May be fixed by #4
Assignees
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@VarunGitGood
Copy link
Collaborator

Here's an easy one

Set up a github hook to run tests namely
npm run lint & npm run format:check

if they do fail stop the commit

use Husky for this to set it up do the manual installation
Husky Docs

@VarunGitGood VarunGitGood added good first issue Good for newcomers help wanted Extra attention is needed labels Jun 2, 2023
@Pratik2026
Copy link

I would like to work on this issue . Please assign it to me

@VarunGitGood
Copy link
Collaborator Author

Sure @Pratik2026 let me know if you need anything!!

@Pratik2026
Copy link

@varun7singh Do I have to pass the package.json file as well?

@VarunGitGood
Copy link
Collaborator Author

Yeah

@Pratik2026 Pratik2026 linked a pull request Jun 3, 2023 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants