mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
golangci-lint: include all enabled linters in config
This makes it clearer from the configuration what linters are enabled. Also disables the `gofmt` linter, because it's superseded by the `goimports` linter. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
086b4541cf
commit
a06d7f5a3e
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,6 @@
|
|||
linters:
|
||||
enable:
|
||||
- deadcode
|
||||
- gofmt
|
||||
- goimports
|
||||
- golint
|
||||
- gosec
|
||||
|
@ -9,7 +8,12 @@ linters:
|
|||
- govet
|
||||
- ineffassign
|
||||
- misspell
|
||||
- staticcheck
|
||||
- structcheck
|
||||
- typecheck
|
||||
- unconvert
|
||||
- unused
|
||||
- varcheck
|
||||
|
||||
disable:
|
||||
- errcheck
|
||||
|
|
Loading…
Reference in a new issue