Skip to content

Commit 3a8f90b

Browse files
committed
[lint] Add the golang ci lint file
1 parent 390e7e2 commit 3a8f90b

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.golangci.yaml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
linters:
2+
enable:
3+
- gosec
4+
- thelper
5+
- gci
6+
- nilerr
7+
disable:
8+
# TODO: Re-enable no-ctx when everything is moved to contexts
9+
- noctx
10+
- exhaustruct
11+
- exhaustive
12+
- testpackage
13+
- musttag
14+
- godox
15+
- godot
16+
- depguard
17+
- dupword
18+
presets:
19+
- bugs
20+
- comment
21+
- format
22+
- import
23+
- module
24+
- test
25+
- performance

0 commit comments

Comments
 (0)