Clean up golangci-lint config

This commit is contained in:
Ian Fijolek
2026-02-18 09:24:54 -08:00
committed by IamTheFij
parent 3323a562c9
commit e614fb35b5
+9 -27
View File
@@ -1,52 +1,34 @@
version: "2" version: "2"
linters: linters:
enable: enable:
- errcheck
- errname - errname
- errorlint - errorlint
- exhaustive - exhaustive
- goprintffuncname - gosec
- govet
- ineffassign
- misspell - misspell
- mnd - mnd
- tagliatelle - modernize
- staticcheck
- tagalign
- testpackage - testpackage
- thelper - thelper
- tparallel - tparallel
- unconvert - unconvert
- unused
- wrapcheck - wrapcheck
- wsl - wsl_v5
disable:
- gochecknoglobals
settings:
gosec:
excludes:
- G204
tagliatelle:
case:
rules:
json: snake
yaml: snake
exclusions: exclusions:
generated: lax generated: lax
presets: presets:
- comments
- common-false-positives - common-false-positives
- legacy
- std-error-handling
rules: rules:
- linters: - linters:
- gosec - gosec
path: _test\.go path: _test\.go
paths:
- third_party$
- builtin$
- examples$
formatters: formatters:
enable: enable:
- gofumpt - gofumpt
- goimports - goimports
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$