Skip to content

golanci-lint not happy anymore so CI not passing #1721

@toby-bro

Description

@toby-bro

What's broken?

golanci was broken as rules have changed,

$ golangci-lint run --color=always ./... --timeout=10m
WARN [lintersdb] The name "vet" is deprecated. The linter has been renamed to: govet. 
modules/gitter/widget.go:71:5: S1009: should omit nil check; len() for nil slices is defined as zero (gosimple)
        if widget.messages == nil || len(widget.messages) == 0 {
           ^

reference of the rule

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions