Enable gci and gofumpt
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This commit is contained in:
parent
cafea292ca
commit
84ea790885
@ -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
|
||||||
|
Reference in New Issue
Block a user