Skip to content

Commit

Permalink
remove hardcoded limit for typecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Mar 23, 2021
1 parent d451c22 commit 567a7f8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/result/processors/max_per_file_from_linter.go
Expand Up @@ -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
Expand Down

0 comments on commit 567a7f8

Please sign in to comment.