mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
typecheck: display compilation errors as report instead of error (#1861)
This commit is contained in:
parent
ccb5bd03d1
commit
9aea4aee1c
18 changed files with 1509 additions and 1423 deletions
|
@ -16,9 +16,8 @@ type MaxPerFileFromLinter struct {
|
|||
var _ Processor = &MaxPerFileFromLinter{}
|
||||
|
||||
func NewMaxPerFileFromLinter(cfg *config.Config) *MaxPerFileFromLinter {
|
||||
maxPerFileFromLinterConfig := map[string]int{
|
||||
"typecheck": 3,
|
||||
}
|
||||
maxPerFileFromLinterConfig := map[string]int{}
|
||||
|
||||
if !cfg.Issues.NeedFix {
|
||||
// if we don't fix we do this limiting to not annoy user;
|
||||
// otherwise we need to fix all issues in the file at once
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue