JOJ3/.golangci.yaml
张泊明518370910136 0b15a50f48
All checks were successful
submodules sync / sync (push) Successful in 1m10s
build / build (push) Successful in 3m25s
build / trigger-build-image (push) Successful in 9s
chore: migrate to golangci-lint v2
2025-07-20 00:56:08 -07:00

44 lines
675 B
YAML

version: "2"
linters:
enable:
- bidichk
- dupl
- gocritic
- gosec
- nakedret
- nolintlint
- prealloc
- staticcheck
- testifylint
- unconvert
- unparam
- usetesting
- wastedassign
settings:
staticcheck:
checks:
- all
- -ST1005
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
paths:
- third_party$
- builtin$
- examples$
formatters:
enable:
- gofmt
- gofumpt
- goimports
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$