Skip to content

Commit 529f40e

Browse files
authored
bump to golangci yaml v2 (#948)
1 parent 3b5230c commit 529f40e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.golangci.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
run:
22
timeout: 10m
33
allow-parallel-runners: true
4-
build-tags:
5-
- e2e
4+
exclude-dirs:
5+
- client
6+
- injection/clients
67

78
output:
89
sort-results: true
@@ -16,8 +17,6 @@ issues:
1617
uniq-by-line: true
1718
max-issues-per-linter: 0
1819
max-same-issues: 0
19-
exclude-dirs:
20-
- pkg/client
2120
exclude-rules:
2221
- path: test # Excludes /test, *_test.go etc.
2322
linters:
@@ -30,6 +29,8 @@ issues:
3029
text: "ifElseChain"
3130

3231
linters-settings:
32+
# goimports:
33+
# local-prefixes: knative.dev/pkg
3334
gomodguard:
3435
blocked:
3536
modules:

0 commit comments

Comments
 (0)