Skip to content

Enable linters to catch issues like #6331 #6584

@kzys

Description

@kzys

What is the problem you're trying to solve

We'd like to find issues like #6331 automatically.

Describe the solution you'd like

golangci-lint was having scopelint which is replaced by looppointer and exportloopref by the author. We should be able to use either of them in our golangci-lint, if it doesn't result too much false positives.

Additional context

No response

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