mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
Closes #75: golangci-lint linters now prints current linters configuration
This commit is contained in:
parent
d02ac2466e
commit
069e66aa91
7 changed files with 123 additions and 44 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue