Skip to content
This repository was archived by the owner on Jun 2, 2023. It is now read-only.
This repository was archived by the owner on Jun 2, 2023. It is now read-only.

Can't run golangci-lint: invalid output json, see build log #54

Closed
@vthiery

Description

@vthiery

We're getting when golangci scans our repositories, with the following logs:

GOLANGCI_COM_RUN=1 golangci-lint run --out-format=json --issues-exit-code=0 --deadline=5m --new=false --new-from-rev= --new-from-patch=../changes.patch
    Flag --deadline has been deprecated, flag will be removed soon, please, use .golangci.yml config
    {"Issues":null,"Report":{"Linters":[{"Name" [...]

I guess the output containing the non-JSON line Flag --deadline has been deprecated, flag will be removed soon, please, use .golangci.yml is problematic.

I raised the PR #53 to attempt to fix the issue. I also updated the flag in golangci-api with golangci/golangci-api#152.

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