gosec/.golangci.yml
Cosmin Cojocar a39ec5a16b Disable staticcheck SA1019 rule
Change-Id: Ia9db0083f5ffb34d911b5ca491ef0ce23be979f8
Signed-off-by: Cosmin Cojocar <ccojocar@google.com>
2024-08-21 15:00:06 +02:00

49 lines
710 B
YAML

linters:
enable:
- asciicheck
- bodyclose
- copyloopvar
- dogsled
- durationcheck
- errcheck
- errorlint
- gci
- ginkgolinter
- gochecknoinits
- gofmt
- gofumpt
- goimports
- gosec
- gosimple
- govet
- importas
- ineffassign
- misspell
- nakedret
- nolintlint
- revive
- staticcheck
- typecheck
- unconvert
- unparam
- unused
- wastedassign
linters-settings:
gci:
sections:
- standard
- default
- prefix(github.com/securego)
staticcheck:
checks:
- all
- '-SA1019'
revive:
rules:
- name: dot-imports
disabled: true
run:
timeout: 5m