Skip to content

How to run a single formatter fix only in V2 #5719

Answered by ldez
vitorf7 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,

The command golangci-lint fmt runs only the formatters.
The formatters are defined inside the formatters.enable section.

The flag --enable is additive, so it doesn't disable the formatters defined inside the formatters.enable section.

The problem related to #1490 (comment) has been fixed since v1.63.0, as you can see the issue was been closed.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
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
2 participants