diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-02-12 19:10:01 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-02-12 19:10:01 +0100 |
commit | ca1cd189b4f7d75298ac3370ad2c30236b5ec737 (patch) | |
tree | 8960333a17ac412c2c7b23ed2f69d4d2f5133209 /.pre-commit-config.yaml | |
parent | fa6df64f69303bba3c1dceee44a85f4346dfcc5e (diff) |
feat: add pre-commit hooks
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r-- | .pre-commit-config.yaml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..5350d21 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,12 @@ +--- +repos: + - repo: https://github.com/compilerla/conventional-pre-commit + rev: v1.2.0 + hooks: + - id: conventional-pre-commit + stages: [commit-msg] + args: [] + - repo: https://github.com/koalaman/shellcheck-precommit + rev: v0.8.0 + hooks: + - id: shellcheck |