Skip to content

gopackagesdriver doesn't work with golangci-lint #3523

@grampelberg

Description

@grampelberg

What version of rules_go are you using?

v0.39.0

What version of gazelle are you using?

v0.30.0

What version of Bazel are you using?

6.1.1

Does this issue reproduce with the latest releases of all the above?

Yes

What operating system and processor architecture are you using?

linux-amd64

Any other potentially useful information about your toolchain?

What did you do?

Exported GOPACKAGESDRIVER and GOPACKAGESDRIVER_BAZEL_QUERY_SCOPE, ran golangci-lint.

What did you expect to see?

A successful run of golangci-lint with no typecheck errors.

What did you see instead?

Silent failures because golangci-lint wasn't able to load the types from source and gave up on non-local libraries.

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