golangci-lint/test/testdata/gofumpt_with_extra.go

10 lines
243 B
Go

//golangcitest:args -Egofumpt
//golangcitest:config_path testdata/configs/gofumpt_with_extra.yml
package testdata
import "fmt"
func GofmtNotExtra(bar string, baz string) { // want "File is not `gofumpt`-ed with `-extra`"
fmt.Print("foo")
}