golangci-lint/test/testdata/gofumpt_with_extra.go

10 lines
241 B
Go
Raw Normal View History

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