diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-01-22 18:43:35 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-01-22 18:43:35 +0100 |
commit | 54408d7ecfd76505da345b31688f755b1baf3423 (patch) | |
tree | e312fd8b9cafed7917b5b873b4213c4a81859812 /.pre-commit-config.yaml | |
parent | a6713d2ab05c11d4b6282364ee4a626f7abdaf1d (diff) |
feat(pre-commit): add stylua and conventional commits hooks
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r-- | .pre-commit-config.yaml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..3c40133 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,11 @@ +repos: + - repo: https://github.com/JohnnyMorganz/StyLua + rev: v0.11.3 + hooks: + - id: stylua + - repo: https://github.com/compilerla/conventional-pre-commit + rev: v1.2.0 + hooks: + - id: conventional-pre-commit + stages: [commit-msg] + args: [] |