Skip to content

Fix duplicate linter config and comments for dot imports #2995

@lentzi90

Description

@lentzi90

We currently add //nolint comments for dot imports. See for example:

. "github.com/onsi/ginkgo/v2" //nolint:revive
. "github.com/onsi/gomega" //nolint:revive

At the same time we configure the linter to ignore these in .golangci.yml:

- linters:
- revive
- staticcheck
path: (test)/.*.go

There must be something wrong with this config or the //nolint comments would not be needed.
Figure out what the config should look like and remove the //nolint comments from all places where we use dot imports for ginkgo and gomega.

/help
/good-first-issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions