diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 32644c7..c91322e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,8 +21,14 @@ repos: hooks: - id: editorconfig-checker alias: ec + stages: [commit] - repo: https://github.com/shellcheck-py/shellcheck-py rev: v0.9.0.6 hooks: - id: shellcheck +- repo: https://github.com/compilerla/conventional-pre-commit + rev: v2.4.0 + hooks: + - id: conventional-pre-commit + stages: [commit-msg] ... diff --git a/README.md b/README.md new file mode 100644 index 0000000..afeed49 --- /dev/null +++ b/README.md @@ -0,0 +1,13 @@ + + +# zsh + +## init of pre-commit hooks + +```shell +$ pre-commit install -t commit-msg -t pre-commit +```