Skip to content

Commit 029fc3a

Browse files
committed
update for golangci-lint 1.63
On-behalf-of: @SAP [email protected]
1 parent b8bd593 commit 029fc3a

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.golangci.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,19 @@
1414

1515
run:
1616
modules-download-mode: readonly
17-
deadline: 20m
18-
skip-files:
19-
- zz_generated.*.go
17+
timeout: 20m
2018

2119
linters:
2220
enable:
2321
- asciicheck
2422
- bidichk
2523
- bodyclose
24+
- copyloopvar
2625
- depguard
2726
- durationcheck
2827
- errcheck
2928
- errname
3029
- errorlint
31-
- exportloopref
3230
- goconst
3331
- gocritic
3432
- gocyclo
@@ -51,10 +49,14 @@ linters:
5149
- wastedassign
5250
- whitespace
5351
disable-all: true
52+
5453
issues:
5554
# defaults to 3, which often needlessly hides issues and forces
5655
# to re-run the linter across the entire repo many times
57-
max-same-issues: 50
56+
max-same-issues: 0
57+
58+
exclude-files:
59+
- zz_generated.*.go
5860

5961
# NOTE: Do not use commas in the exclude patterns, or else the regex will be
6062
# split and you will be sad: https://github.com/golangci/golangci-lint/issues/665

0 commit comments

Comments
 (0)