Skip to content

Commit 567a7f8

Browse files
committed
remove hardcoded limit for typecheck
1 parent d451c22 commit 567a7f8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pkg/result/processors/max_per_file_from_linter.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ type MaxPerFileFromLinter struct {
1616
var _ Processor = &MaxPerFileFromLinter{}
1717

1818
func NewMaxPerFileFromLinter(cfg *config.Config) *MaxPerFileFromLinter {
19-
maxPerFileFromLinterConfig := map[string]int{
20-
"typecheck": 3,
21-
}
19+
maxPerFileFromLinterConfig := map[string]int{}
20+
2221
if !cfg.Issues.NeedFix {
2322
// if we don't fix we do this limiting to not annoy user;
2423
// otherwise we need to fix all issues in the file at once

0 commit comments

Comments
 (0)