1
0
Fork 0
mirror of https://gitlab.com/mfocko/LeetCode.git synced 2024-11-09 15:59:06 +01:00

ci(java): add pre-commit hook for formatting

Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
Matej Focko 2024-03-02 20:59:59 +01:00
parent 668057d19c
commit c6dfb95ec0
Signed by: mfocko
GPG key ID: 7C47D46246790496

View file

@ -17,6 +17,12 @@ repos:
files: \.cpp$ files: \.cpp$
- id: gofmt - id: gofmt
files: \.go$ files: \.go$
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.12.0
hooks:
- id: pretty-format-java
files: \.java$
args: [--autofix]
- repo: https://github.com/commitizen-tools/commitizen - repo: https://github.com/commitizen-tools/commitizen
rev: v3.15.0 rev: v3.15.0
hooks: hooks: