golangci-lint/test/testdata/gofumpt_with_extra.go
2021-01-08 16:48:56 +01:00

10 lines
219 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")
}