diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-01-22 16:47:25 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-01-22 16:47:25 +0100 |
commit | 9f15f24fcb69049cff5f2a8df03a981ef71b2a9d (patch) | |
tree | d00b74a78b41ace3b474c18514ddfb3537b2e478 | |
parent | a3c7b0f7d3fc04e105359d96c25660d49a9c8015 (diff) |
feat(pre-commit): add hooks for stylua and conventional commits
-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: [] |