Skip to content

Commit 137402b

Browse files
committed
chore: enable golangci
Signed-off-by: Bo-Yi Wu <[email protected]>
1 parent 02eaa57 commit 137402b

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.golangci.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
linters:
2+
disable-all: true
3+
enable:
4+
- bodyclose
5+
- deadcode
6+
- depguard
7+
- dogsled
8+
- dupl
9+
- errcheck
10+
- exportloopref
11+
- exhaustive
12+
- gochecknoinits
13+
- goconst
14+
- gocritic
15+
- gocyclo
16+
- gofmt
17+
- goimports
18+
- goprintffuncname
19+
- gosec
20+
- gosimple
21+
- govet
22+
- ineffassign
23+
- lll
24+
- misspell
25+
- nakedret
26+
- noctx
27+
- nolintlint
28+
- rowserrcheck
29+
- staticcheck
30+
- structcheck
31+
- stylecheck
32+
- typecheck
33+
- unconvert
34+
- unparam
35+
- unused
36+
- varcheck
37+
- whitespace
38+
- gofumpt

0 commit comments

Comments
 (0)