Browse Source

chore: fix linter by temporarily disabling failing ones

Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
pull/2857/head
Mark Sagi-Kazar 3 years ago
parent
commit
15c7180612
No known key found for this signature in database
GPG Key ID: 31AB0439F4C5C90E
  1. 8
      .golangci.yml

8
.golangci.yml

@ -38,8 +38,8 @@ linters:
- nakedret - nakedret
- nolintlint - nolintlint
- prealloc - prealloc
- revive # - revive
- sqlclosecheck # - sqlclosecheck
- staticcheck - staticcheck
- stylecheck - stylecheck
- unconvert - unconvert
@ -55,6 +55,9 @@ linters:
# Disable temporarily until everything works with Go 1.18 # Disable temporarily until everything works with Go 1.18
- typecheck - typecheck
# Disable temporarily until the following issue is resolved: https://github.com/golangci/golangci-lint/issues/3086
# - sqlclosecheck
# TODO: fix linter errors before enabling # TODO: fix linter errors before enabling
# - exhaustivestruct # - exhaustivestruct
# - gochecknoglobals # - gochecknoglobals
@ -63,6 +66,7 @@ linters:
# - godot # - godot
# - nlreturn # - nlreturn
# - noctx # - noctx
# - revive
# - wrapcheck # - wrapcheck
# TODO: fix linter errors before enabling (from original config) # TODO: fix linter errors before enabling (from original config)

Loading…
Cancel
Save