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

Setup Git Hooks for linting #706

Open
Rishabhraghwendra18 opened this issue Oct 30, 2021 · 2 comments
Open

Setup Git Hooks for linting #706

Rishabhraghwendra18 opened this issue Oct 30, 2021 · 2 comments

Comments

@Rishabhraghwendra18
Copy link

Feature Request 🛍️

The project doesn't have git hooks which can trigger automatically on committing or any git commands . Git Hooks can help us to automate the process like linting , running some tests before pushing to GitHub , etc .

Use Case

We can have a pre-commit hook which can trigger automatically linting to lint the changed files before we commit .

Possible Solution

One of the possible and most famous solution I can think of is using Husky . It's easy to setup .

Context

It can automate the process of linting & testing on every commit .

Detailed Description

We can use Husky package to setup the Git Hooks . I found out easy to setup & use with mono-repos . We just need to install the Husky package & setup the husky command in package.json file and we have setuped the Git Hooks .

@Krish-bhardwaj
Copy link

Hi @Rishabhraghwendra18 i am a fresher looking for some opensource contribution can u assign me this issue and guide me how to solve this

Thanks in advance

@Rishabhraghwendra18
Copy link
Author

@Krish-bhardwaj . Sorry but I have opened this issue for myself . I am waiting for someone from core team to give their views on it. You may look for issues in the repo

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

No branches or pull requests

2 participants