Skip to content

Enable modernize linter #13732

Description

@alexandear

As listed in #12438, we need to enable the modernize linter. It's marked as high-effort, but actually it's low-effort because the linter supports auto-fix. We can easily fix all issues with the one command:

golangci-lint run --enable-only modernize --fix

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementa request to improve CLI

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions