mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
#12: add TypeCheck linter to report compilation errors
This commit is contained in:
parent
5b00f5bf63
commit
b361146df8
16 changed files with 206 additions and 59 deletions
|
@ -27,6 +27,7 @@ func (p MaxPerFileFromLinter) Name() string {
|
|||
var maxPerFileFromLinterConfig = map[string]int{
|
||||
golinters.Gofmt{}.Name(): 1,
|
||||
golinters.Gofmt{UseGoimports: true}.Name(): 1,
|
||||
golinters.TypeCheck{}.Name(): 3,
|
||||
}
|
||||
|
||||
func (p *MaxPerFileFromLinter) Process(issues []result.Issue) ([]result.Issue, error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue