summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-02-12 19:10:01 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-02-12 19:10:01 +0100
commitca1cd189b4f7d75298ac3370ad2c30236b5ec737 (patch)
tree8960333a17ac412c2c7b23ed2f69d4d2f5133209
parentfa6df64f69303bba3c1dceee44a85f4346dfcc5e (diff)
feat: add pre-commit hooks
-rw-r--r--.pre-commit-config.yaml12
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