2023-11-08 17:11:42 +00:00
|
|
|
# See https://pre-commit.com for more information
|
|
|
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
|
|
|
repos:
|
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
|
rev: v4.5.0
|
|
|
|
|
hooks:
|
|
|
|
|
- id: check-added-large-files
|
|
|
|
|
- id: check-case-conflict
|
|
|
|
|
- id: check-merge-conflict
|
|
|
|
|
- id: check-yaml
|
|
|
|
|
- id: detect-private-key
|
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
|
- id: trailing-whitespace
|
|
|
|
|
- repo: https://github.com/golangci/golangci-lint
|
2025-02-19 13:53:42 +00:00
|
|
|
rev: v1.64.5
|
2023-11-08 17:11:42 +00:00
|
|
|
hooks:
|
|
|
|
|
- id: golangci-lint
|
|
|
|
|
- repo: https://github.com/TekWizely/pre-commit-golang
|
|
|
|
|
rev: v1.0.0-rc.1
|
|
|
|
|
hooks:
|
|
|
|
|
- id: go-fumpt
|
|
|
|
|
args:
|
|
|
|
|
- -w
|
|
|
|
|
- id: go-mod-tidy
|