Skip to content

Commit b69156e

Browse files
committed
update golangci-lint
1 parent 7b0047f commit b69156e

File tree

1 file changed

+31
-6
lines changed

1 file changed

+31
-6
lines changed

.golangci.yml

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,33 @@
1-
run:
2-
modules-download-mode: vendor
3-
4-
# Run only staticcheck for now. Additional linters will be enabled one-by-one.
51
linters:
62
enable:
7-
- staticcheck
8-
disable-all: true
3+
- asciicheck
4+
- deadcode
5+
- depguard
6+
- errcheck
7+
- errorlint
8+
- gofmt
9+
- goimports
10+
- gosec
11+
- gocritic
12+
- importas
13+
- prealloc
14+
- revive
15+
- misspell
16+
- stylecheck
17+
- tparallel
18+
- unconvert
19+
- unparam
20+
- whitespace
21+
output:
22+
uniq-by-line: false
23+
issues:
24+
exclude-rules:
25+
- path: _test\.go
26+
linters:
27+
- errcheck
28+
- gosec
29+
max-issues-per-linter: 0
30+
max-same-issues: 0
31+
run:
32+
issues-exit-code: 1
33+
timeout: 10m

0 commit comments

Comments
 (0)