Skip to content

vs-code lintflags #222

Closed
Closed
@cyriltovena

Description

@cyriltovena

Hello,

It seems that if we want to add flags using vscode:

		"go.lintTool": "golangci-lint",
		"go.lintFlags": ["--enable-all"],

The linter doesn't work anymore, I'm guessing it has to do with the command run. Do you have a workaround to enable more linter in vs-code ? Could we use a config file ? If yes is it per package/project ?

go version
go version go1.9 windows/amd64

golangci-lint version v1.10.2

Thank you !

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