Skip to content

Enable all the linters #331

@bfabio

Description

@bfabio

We should enable these linters:

  • bodyclose
  • containedctx
  • cyclop
  • errorlint
  • forbidigo
  • forcetypeassert
  • funlen
  • gci
  • gochecknoglobals
  • gochecknoinits
  • gocognit
  • gocritic
  • gocyclo
  • godot
  • godox
  • goerr113
  • goimports
  • gomnd (disabled)
  • gosec
  • ireturn
  • lll
  • nestif
  • nilnil
  • nlreturn
  • noctx
  • nolintlint
  • nonamedreturns
  • prealloc
  • revive
  • unconvert
  • unparam
  • usestdlibvars
  • varnamelen
  • whitespace
  • wrapcheck
  • wsl

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions