gittuf/.golangci.yml
Pat Zielinski f37ed6006a
ci: Disable prealloc linter
Signed-off-by: Pat Zielinski <git@patzielinski.com>
2026-01-13 15:14:32 -05:00

42 lines
684 B
YAML

version: "2"
run:
issues-exit-code: 1
linters:
enable:
- asciicheck
- errorlint
- gocritic
- gosec
- importas
- misspell
- revive
- staticcheck
- tparallel
- unconvert
- unparam
- whitespace
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
paths:
- internal/third_party
- third_party$
- builtin$
- examples$
issues:
uniq-by-line: false
formatters:
enable:
- gofmt
- goimports
exclusions:
generated: lax
paths:
- internal/third_party
- third_party$
- builtin$
- examples$