whatsapp/.pre-commit-config.yaml

30 lines
761 B
YAML
Raw Normal View History

2022-01-27 09:50:37 -07:00
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
2024-11-06 13:14:31 +01:00
rev: v5.0.0
2022-01-27 09:50:37 -07:00
hooks:
- id: trailing-whitespace
exclude_types: [markdown]
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/tekwizely/pre-commit-golang
2023-02-07 13:07:24 +02:00
rev: v1.0.0-rc.1
2022-01-27 09:50:37 -07:00
hooks:
- id: go-imports-repo
2024-09-06 18:25:25 +03:00
args:
- "-local"
- "go.mau.fi/mautrix-whatsapp"
2024-09-06 18:25:25 +03:00
- "-w"
2022-07-19 21:51:05 +03:00
- id: go-vet-repo-mod
2024-09-27 16:19:39 +03:00
- id: go-staticcheck-repo-mod
2024-10-07 17:11:12 +03:00
- id: go-mod-tidy
- repo: https://github.com/beeper/pre-commit-go
2024-11-06 13:14:31 +01:00
rev: v0.4.2
hooks:
- id: zerolog-ban-msgf
2024-09-27 16:19:39 +03:00
- id: zerolog-use-stringer
2024-11-06 13:14:31 +01:00
- id: prevent-literal-http-methods
- id: zerolog-ban-global-log