Closes #75: golangci-lint linters now prints current linters configuration

This commit is contained in:
Denis Isaev 2018-07-29 19:33:24 +03:00 committed by Isaev Denis
parent d02ac2466e
commit 069e66aa91
7 changed files with 123 additions and 44 deletions

View file

@ -57,7 +57,7 @@ func buildTemplateContext() (map[string]interface{}, error) {
return nil, fmt.Errorf("can't run go install: %s", err)
}
lintersOut, err := exec.Command("golangci-lint", "linters").Output()
lintersOut, err := exec.Command("golangci-lint", "help", "linters").Output()
if err != nil {
return nil, fmt.Errorf("can't run linters cmd: %s", err)
}