Enable gci and gofumpt

Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This commit is contained in:
Mark Sagi-Kazar 2020-11-03 20:49:29 +01:00
parent cafea292ca
commit 84ea790885
No known key found for this signature in database
GPG Key ID: 34CC109EB5ED1C2A

View File

@ -18,9 +18,11 @@ linters:
- dogsled - dogsled
- exhaustive - exhaustive
- exportloopref - exportloopref
- gci
- gochecknoinits - gochecknoinits
- gocritic - gocritic
- gofmt - gofmt
- gofumpt
- goimports - goimports
- golint - golint
- goprintffuncname - goprintffuncname
@ -43,12 +45,10 @@ linters:
# TODO: fix linter errors before enabling # TODO: fix linter errors before enabling
# - exhaustivestruct # - exhaustivestruct
# - gci
# - gochecknoglobals # - gochecknoglobals
# - errorlint # - errorlint
# - gocognit # - gocognit
# - godot # - godot
# - gofumpt
# - nlreturn # - nlreturn
# - noctx # - noctx
# - prealloc # - prealloc