Skip to content

Commit e9e7bc8

Browse files
chore: add .golangci.yaml
1 parent e8aeda2 commit e9e7bc8

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.golangci.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
linters:
2+
enable:
3+
- errorlint
4+
- forbidigo
5+
- gochecknoinits
6+
- gocritic
7+
- goconst
8+
- gocyclo
9+
- gofumpt
10+
- goimports
11+
- misspell
12+
- revive
13+
- unconvert
14+
- unparam
15+
- wastedassign
16+
17+
linters-settings:
18+
gocyclo:
19+
min-complexity: 12
20+
gofumpt:
21+
extra-rules: true
22+
govet:
23+
enable-all: true
24+
disable:
25+
- fieldalignment
26+
27+
run:
28+
skip-dirs:
29+
- goreleaser

0 commit comments

Comments
 (0)