Skip to content

Update golangci-lint to v2 #17770

Open
@tylerauerbeck

Description

@tylerauerbeck

Golangci-lint has released a new major version, currently sitting at v2.1.6. This provides a number of improvements, including updated linters. Loki should upgrade to make use of these latest configurations.

Note: This requires updating the .golangci.yml config file to use the new configuration format, which can be done using golangci-lint migrate from the v2 cli.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull requests that update a dependency file

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions