Skip to content

Commit c31a90c

Browse files
committed
Introduce golangci-lint support
1 parent 514e18d commit c31a90c

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.golangci.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
run:
2+
timeout: 5m
3+
skip-dirs:
4+
- pkg/lib
5+
- pkg/api
6+
- pkg/fakes
7+
- pkg/package-server/apis
8+
- test/e2e
9+
10+
linters:
11+
enable:
12+
- depguard
13+
- gofmt
14+
- goimports
15+
- importas
16+
- misspell
17+
- stylecheck
18+
- tparallel
19+
- unconvert
20+
- whitespace
21+
disable:
22+
- errcheck
23+
- structcheck
24+
25+
issues:
26+
max-issues-per-linter: 0
27+
max-same-issues: 0
28+
29+
output:
30+
format: tab
31+
sort-results: true

0 commit comments

Comments
 (0)