diff --git a/.golangci.yaml b/.golangci.yaml index a6f4349d2..6e97f103c 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -1,8 +1,9 @@ run: timeout: 10m allow-parallel-runners: true - build-tags: - - e2e + exclude-dirs: + - client + - injection/clients output: sort-results: true @@ -16,8 +17,6 @@ issues: uniq-by-line: true max-issues-per-linter: 0 max-same-issues: 0 - exclude-dirs: - - pkg/client exclude-rules: - path: test # Excludes /test, *_test.go etc. linters: @@ -30,6 +29,8 @@ issues: text: "ifElseChain" linters-settings: + # goimports: + # local-prefixes: knative.dev/pkg gomodguard: blocked: modules: