diff --git a/.golangci.yml b/.golangci.yml index fcfacf552c5..d23883526de 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -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. @@ -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