You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
changed the title
Migrate from husky to pre-push.sh to pre-commit (the project)
Migrate from husky to pre-commitJun 11, 2021
pre-commit
is a framework for managing and maintaining multi-language pre-commit (and others) git hookspre-commit
supports run javascript code via https://pre-commit.com/#nodepre-commit
supports create hooks for the gitpre-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
.pre-commit-config.yaml
on repository root.The
.pre-commit-config.yaml
file should contain:repos:
eslint
hook config to.pre-commit-config.yam
. https://github.com/pre-commit/mirrors-eslintblack
hook config to.pre-commit-config.yam
.. https://github.com/psf/black#version-control-integrationflake8
hook config to.pre-commit-config.yam
.. https://flake8.pycqa.org/en/latest/user/using-hooks.html#usage-with-the-pre-commit-git-hooks-frameworkThe text was updated successfully, but these errors were encountered: