Files
git-velocity/.golangci.yml
T
lukaszraczylo 6322e0e658 chore: migrate golangci-lint config to v2
golangci-lint v2 rejects the old config format, so the pre-commit hook failed on every commit. The config now uses version 2 with the same linters and exclusions.
2026-10-02 22:07:12 +01:00

29 lines
454 B
YAML

version: "2"
linters:
enable:
- gosec
settings:
gosec:
severity: medium
confidence: low
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
paths:
- .repos
- web
- third_party$
- builtin$
- examples$
formatters:
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$