mirror of
https://github.com/securego/gosec.git
synced 2024-11-05 11:35:51 +00:00
a39ec5a16b
Change-Id: Ia9db0083f5ffb34d911b5ca491ef0ce23be979f8 Signed-off-by: Cosmin Cojocar <ccojocar@google.com>
49 lines
710 B
YAML
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
|