golangci-lint/pkg/golinters/supported_linters.go
2018-05-05 22:22:21 +03:00

13 lines
407 B
Go

package golinters
import "github.com/golangci/golangci-lint/pkg"
const pathLineColMessage = `^(?P<path>.*?\.go):(?P<line>\d+):(?P<col>\d+):\s*(?P<message>.*)$`
const pathLineMessage = `^(?P<path>.*?\.go):(?P<line>\d+):\s*(?P<message>.*)$`
var golint = newLinter("golint", newLinterConfig("", pathLineColMessage, ""))
func GetSupportedLinters() []pkg.Linter {
return []pkg.Linter{govet{}, errcheck{}}
}