Skip to content

Commit

Permalink
chore: golangci-lint: run.skip-dirs is deprecated (#6036)
Browse files Browse the repository at this point in the history
Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
  • Loading branch information
zroubalik authored Aug 5, 2024
1 parent a03ed32 commit a7eceab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ run:
- e2e
# timeout for analysis, e.g. 30s, 5m, default is 1m
timeout: 10m
# skip vendor directory
skip-dirs:
- vendor
modules-download-mode: vendor
linters:
# please, do not use `enable-all`: it's deprecated and will be removed soon.
Expand Down Expand Up @@ -49,6 +46,9 @@ linters:
issues:
include:
- EXC0002 # disable excluding of issues about comments from golint
exclude-dirs:
# skip vendor directory
- vendor
# Excluding configuration per-path, per-linter, per-text and per-source
exclude-rules:
- path: _test\.go
Expand Down

0 comments on commit a7eceab

Please sign in to comment.