ci(pre-commit): exclude file templates from formatting

Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
Matej Focko 2024-12-02 14:21:03 +01:00
parent fc6f3c54a8
commit 123048530c
Signed by: mfocko
SSH key fingerprint: SHA256:icm0fIOSJUpy5+1x23sfr+hLtF9UhY8VpMC7H4WFJP8

View file

@ -11,6 +11,7 @@ repos:
- args: - args:
- --autofix - --autofix
files: \.kt$ files: \.kt$
exclude: ^\.idea/fileTemplates/.*\.kt$
id: pretty-format-kotlin id: pretty-format-kotlin
repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.12.0 rev: v2.12.0