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

Migrate from husky to pre-commit #36

Open
5 tasks
luzfcb opened this issue May 4, 2021 · 1 comment
Open
5 tasks

Migrate from husky to pre-commit #36

luzfcb opened this issue May 4, 2021 · 1 comment

Comments

@luzfcb
Copy link
Contributor

luzfcb commented May 4, 2021

pre-commit is a framework for managing and maintaining multi-language pre-commit (and others) git hooks

pre-commit supports run javascript code via https://pre-commit.com/#node
pre-commit supports create hooks for the git pre-commit, pre-merge-commit, pre-push, prepare-commit-msg, commit-msg, post-checkout, post-commit, post-merge:
https://pre-commit.com/#pre-commit-install
https://pre-commit.com/#confining-hooks-to-run-at-certain-stages

  • Create .pre-commit-config.yaml on repository root.
    The .pre-commit-config.yaml file should contain:
repos:
@luzfcb
Copy link
Contributor Author

luzfcb commented May 10, 2021

this issue can replace and/or close #31

@CavalcanteLucas CavalcanteLucas changed the title Migrate hooks/pre-push.sh to pre-commit (the project) Migrate hooks/pre-push.sh to pre-commit (the project) Jun 11, 2021
@CavalcanteLucas CavalcanteLucas changed the title Migrate hooks/pre-push.sh to pre-commit (the project) Migrate from husky to pre-push.sh to pre-commit (the project) Jun 11, 2021
@CavalcanteLucas CavalcanteLucas changed the title Migrate from husky to pre-push.sh to pre-commit (the project) Migrate from husky to pre-commit Jun 11, 2021
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

1 participant