golangci-lint/test/testdata/gofumpt_with_extra.go
2022-07-15 15:32:10 +02:00

10 lines
241 B
Go

//golangcitest:args -Egofumpt
//golangcitest: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")
}