mirror of
https://github.com/securego/gosec.git
synced 2024-12-26 20:53:56 +02:00
8c602d0bc4
Co-authored-by: Cosmin Cojocar <cosmin@cojocar.ch>
51 lines
745 B
YAML
51 lines
745 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
|
|
- name: redefines-builtin-id
|
|
|
|
run:
|
|
timeout: 5m
|