golangci-lint/test/testdata/gofumpt_with_extra.go
2020-07-18 21:33:47 -05:00

10 lines
217 B
Go

//args: -Egofumpt
//config: linters-settings.gofumpt.extra-rules=true
package testdata
import "fmt"
func GofmtNotExtra(bar string, baz string) { // ERROR "File is not `gofumpt`-ed with `-extra`"
fmt.Print("foo")
}