Skip to content

Commit a7eceab

Browse files
authored
chore: golangci-lint: run.skip-dirs is deprecated (kedacore#6036)
Signed-off-by: Zbynek Roubalik <[email protected]>
1 parent a03ed32 commit a7eceab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: .golangci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ run:
77
- e2e
88
# timeout for analysis, e.g. 30s, 5m, default is 1m
99
timeout: 10m
10-
# skip vendor directory
11-
skip-dirs:
12-
- vendor
1310
modules-download-mode: vendor
1411
linters:
1512
# please, do not use `enable-all`: it's deprecated and will be removed soon.
@@ -49,6 +46,9 @@ linters:
4946
issues:
5047
include:
5148
- EXC0002 # disable excluding of issues about comments from golint
49+
exclude-dirs:
50+
# skip vendor directory
51+
- vendor
5252
# Excluding configuration per-path, per-linter, per-text and per-source
5353
exclude-rules:
5454
- path: _test\.go

0 commit comments

Comments
 (0)