feat: Added conventional commit hook
This commit is contained in:
parent
bf256b42de
commit
94a7d064b3
2 changed files with 19 additions and 0 deletions
|
@ -21,8 +21,14 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: editorconfig-checker
|
- id: editorconfig-checker
|
||||||
alias: ec
|
alias: ec
|
||||||
|
stages: [commit]
|
||||||
- repo: https://github.com/shellcheck-py/shellcheck-py
|
- repo: https://github.com/shellcheck-py/shellcheck-py
|
||||||
rev: v0.9.0.6
|
rev: v0.9.0.6
|
||||||
hooks:
|
hooks:
|
||||||
- id: shellcheck
|
- id: shellcheck
|
||||||
|
- repo: https://github.com/compilerla/conventional-pre-commit
|
||||||
|
rev: v2.4.0
|
||||||
|
hooks:
|
||||||
|
- id: conventional-pre-commit
|
||||||
|
stages: [commit-msg]
|
||||||
...
|
...
|
||||||
|
|
13
README.md
Normal file
13
README.md
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<!--
|
||||||
|
SPDX-FileCopyrightText: 2023 Tobias Schmidl
|
||||||
|
|
||||||
|
SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
-->
|
||||||
|
|
||||||
|
# zsh
|
||||||
|
|
||||||
|
## init of pre-commit hooks
|
||||||
|
|
||||||
|
```shell
|
||||||
|
$ pre-commit install -t commit-msg -t pre-commit
|
||||||
|
```
|
Loading…
Reference in a new issue