Skip to content

Commit 5e6cac3

Browse files
Create .golangci.yml
Signed-off-by: Bruno Schaatsbergen <[email protected]>
1 parent 96bdfdd commit 5e6cac3

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.golangci.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Visit https://golangci-lint.run/ for usage documentation and information on other useful linters
2+
issues:
3+
max-per-linter: 0
4+
max-same-issues: 0
5+
6+
exclude-rules:
7+
# disable funlen for test funcs
8+
- source: "^func Test"
9+
linters:
10+
- funlen
11+
12+
linters:
13+
disable-all: true
14+
enable:
15+
- bidichk
16+
- durationcheck
17+
- decorder
18+
- dogsled
19+
- errcheck
20+
- exportloopref
21+
- forcetypeassert
22+
- funlen
23+
- godot
24+
- godox
25+
- gofmt
26+
- gosimple
27+
- goconst
28+
- ineffassign
29+
- makezero
30+
- misspell
31+
- nilerr
32+
- predeclared
33+
- staticcheck
34+
- tenv
35+
- unconvert
36+
- unparam
37+
- unused
38+
- vet
39+

0 commit comments

Comments
 (0)