-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.golangci.yml
40 lines (40 loc) · 882 Bytes
/
.golangci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
run:
timeout: 5m
tests: true
skip-dirs:
- .github
skip-files:
- ".*_gen.go$"
output:
sort-results: true
linters: # https://golangci-lint.run/usage/linters/
enable-all: true
disable:
- depguard
- forbidigo
- exhaustruct
- nlreturn
- paralleltest
- testableexamples
- varnamelen
- wrapcheck
- goerr113 # Use errorlint instead.
- gofmt # Use gofumpt instead.
- testpackage
- tparallel # Use paralleltest instead.
- wsl
- deadcode # deprecated
- exhaustivestruct # deprecated
- golint # deprecated
- ifshort # deprecated
- interfacer # deprecated
- maligned # deprecated
- nosnakecase # deprecated
- scopelint # deprecated
- structcheck # deprecated
- varcheck # deprecated
issues:
exclude-rules:
- path: _test\.go
linters:
- funlen