Skip to content

Unable to run a specific linter #2400

Closed Answered by bombsimon
toby3d asked this question in Q&A
Discussion options

You must be logged in to vote

I think the output from your run is pretty clear:

ERRO Running error: --enable-all and --disable-all options must not be combined

Your configuration enables all linters and you're trying to disable all with the flags. To only run one linter, run without your configuration file:

golangci-lint run -v --no-config --disable-all --enable lll

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@githoober
Comment options

@bombsimon
Comment options

Answer selected by ldez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #2399 on December 02, 2021 13:45.