kratos icon indicating copy to clipboard operation
kratos copied to clipboard

[Lint] gofumpt v0.2 conflict whitespace with 'multi-func: true'

Open clyer opened this issue 3 years ago • 0 comments

golangci released a new version with gofumpt v0.2.1.

gofumpt v0.2 add a new formatting rule:

Functions using an empty line for readability should use a ) { line instead

which conflict with whitespace.

Related issue: https://github.com/ultraware/whitespace/issues/5

clyer avatar Jan 28 '22 02:01 clyer