Skip to content

Update to golangci-lint v1.39.x #56

@svengreb

Description

@svengreb

The currently latest golangci-lint version 1.39.0 introduced new linters and updated supported ones:

  1. predeclared (v1.35.0) — Checks for definitions and declarations that shadows one of Go's pre-declared identifiers.
    This linter is disabled by default, but will be enabled for this template to help to prevent shadowed identifiers.
  2. interfacer (v1.38.0) — Has been deprecated and will be removed from the enabled linter in this template.
  3. scopelint (v1.39.0) — Has been deprecated and will be replaced by exportloopref.
    The exportloopref linter is disabled by default, but will be enabled for this template to help to catch loop variable bugs.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions