| 123456789101112131415161718192021222324 |
- linters:
- # Disable all linters.
- # Default: false
- disable-all: true
- # Enable specific linter
- # https://golangci-lint.run/usage/linters/#enabled-by-default-linters
- enable:
- # default linters
- - errcheck
- - gosimple
- - govet
- - ineffassign
- - staticcheck
- - typecheck
- - unused
- # additional linters
- - gosec
- - forcetypeassert
- # - contextcheck # disabled in CI for now because fixes to findings need additional work
- - noctx
- # - unconvert # disable because extra conversion typically don't hurt but can make code more clear
- - unparam
- - prealloc
|