Skip to content

Commit 77c2469

Browse files
committed
fix .golangci.yml
1 parent 0a7fa31 commit 77c2469

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

.golangci.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
1+
---
12
# golangci-lint configuration
2-
# https://golangci-lint.run/usage/configuration/
3+
# https://golangci.github.io/legacy-v1-doc/usage/configuration/
34

45
# Options for analysis running
6+
57
run:
68
timeout: 5m
79
tests: true
8-
skip-dirs:
9-
- vendor
10-
- third_party
11-
skip-files:
12-
- ".*\\.pb\\.go$"
1310
modules-download-mode: readonly
1411

1512
linters:
@@ -22,17 +19,24 @@ linters:
2219

2320
linters-settings:
2421
govet:
25-
check-shadowing: true
22+
settings:
23+
shadow: {}
2624
errcheck:
2725
check-type-assertions: true
2826
check-blank: false
2927

3028
issues:
29+
exclude-dirs:
30+
- vendor
31+
- third_party
32+
exclude-files:
33+
- ".*\\.pb\\.go$"
34+
3135
# Exclude typecheck errors - these are false positives in v1.55.2
3236
exclude:
3337
- "undefined: redis"
3438
- "undefined: quic"
35-
39+
3640
exclude-rules:
3741
# Be more lenient with test files
3842
- path: _test\.go

0 commit comments

Comments
 (0)