Add an option to golangci-lint fmt
to check if the code is formatted
#5601
Labels
question
Further information is requested
Welcome
How did you install golangci-lint?
go tool
Your feature request related to a problem? Please describe
In
golangci-lint
v1, we could check if the code is formatted withgolangci-lint run -E gofmt
,golangci-lint run -E goimports
, etc. But I couldn't find a way to do this withgolangci-lint
v2.Describe the solution you'd like
Describe alternatives you've considered
Additional context
No response
Supporter
The text was updated successfully, but these errors were encountered: