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

Add Husky for git hooks #3

Closed
Cyklan opened this issue Jun 14, 2022 · 1 comment
Closed

Add Husky for git hooks #3

Cyklan opened this issue Jun 14, 2022 · 1 comment
Labels
b-enhancement New feature or request

Comments

@Cyklan
Copy link

Cyklan commented Jun 14, 2022

Description
Husky is a package for git hooks, which allows to run commands when git commands are run.

Proposed solution
Some use cases I've seen in previous pull requests were

  • wrong commit message format
  • forgetting to run prettier

Husky could eliminate these (and other) issues by running a validator on the commit message and prettier-fix pre-commit.

Other use cases, like testing, could be done pre-push, so that unit tests have to pass locally before being able to push to GitHub.

Considered alternatives
-

Additional context
-

@Cyklan Cyklan added the b-enhancement New feature or request label Jun 14, 2022
@aarthificial aarthificial transferred this issue from another repository Aug 3, 2022
@aarthificial
Copy link
Contributor

Done in 6c8d190

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
b-enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants