mirror of
https://github.com/Mic92/sops-nix.git
synced 2025-12-26 14:14:58 +08:00
gosec only found int to uint downcasts which are unavoidable as sadly the go API usually uses int instead of uint in places.
54 lines
893 B
YAML
54 lines
893 B
YAML
version: "2"
|
|
linters:
|
|
enable:
|
|
- asasalint
|
|
- asciicheck
|
|
- bidichk
|
|
- bodyclose
|
|
- contextcheck
|
|
- durationcheck
|
|
- errchkjson
|
|
- errorlint
|
|
- exhaustive
|
|
- gocheckcompilerdirectives
|
|
- gochecksumtype
|
|
- gosmopolitan
|
|
- loggercheck
|
|
- makezero
|
|
- misspell
|
|
- musttag
|
|
- nilerr
|
|
- nilnesserr
|
|
- protogetter
|
|
- reassign
|
|
- recvcheck
|
|
- revive
|
|
- rowserrcheck
|
|
- spancheck
|
|
- sqlclosecheck
|
|
- staticcheck
|
|
- testifylint
|
|
- unparam
|
|
- zerologlint
|
|
disable:
|
|
- noctx
|
|
exclusions:
|
|
generated: lax
|
|
presets:
|
|
- comments
|
|
- common-false-positives
|
|
- legacy
|
|
- std-error-handling
|
|
paths:
|
|
- third_party$
|
|
- builtin$
|
|
- examples$
|
|
formatters:
|
|
enable:
|
|
- gofmt
|
|
exclusions:
|
|
generated: lax
|
|
paths:
|
|
- third_party$
|
|
- builtin$
|
|
- examples$
|