mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
refactor and don't print congrats if timeouted
This commit is contained in:
parent
2f333be584
commit
0a111acaab
60 changed files with 805 additions and 704 deletions
|
@ -1,7 +1,6 @@
|
|||
package processors
|
||||
|
||||
import (
|
||||
"github.com/golangci/golangci-lint/pkg/golinters"
|
||||
"github.com/golangci/golangci-lint/pkg/result"
|
||||
)
|
||||
|
||||
|
@ -25,9 +24,9 @@ func (p MaxPerFileFromLinter) Name() string {
|
|||
}
|
||||
|
||||
var maxPerFileFromLinterConfig = map[string]int{
|
||||
golinters.Gofmt{}.Name(): 1,
|
||||
golinters.Gofmt{UseGoimports: true}.Name(): 1,
|
||||
golinters.TypeCheck{}.Name(): 3,
|
||||
"gofmt": 1,
|
||||
"goimports": 1,
|
||||
"typecheck": 3,
|
||||
}
|
||||
|
||||
func (p *MaxPerFileFromLinter) Process(issues []result.Issue) ([]result.Issue, error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue