-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.golangci.yaml
34 lines (34 loc) · 1.32 KB
/
.golangci.yaml
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
linters:
enable-all: true
disable:
- golint
- interfacer # Deprecated
- maligned # Deprecated
- exhaustivestruct # Deprecated
- scopelint # Deprecated
- bodyclose # Deprecated
- contextcheck # Deprecated
- interfacer # Deprecated
- nilerr # Deprecated
- noctx # Deprecated
- rowserrcheck # Deprecated
- sqlclosecheck # Deprecated
- structcheck # Deprecated
- tparallel # Deprecated
- unparam # Deprecated
- wastedassign # Deprecated
- wrapcheck # Deprecated
- forbidigo # Complains on using fmt.Println
- revive # Complains on underscores in package names
- stylecheck # Complains on underscores in package names
- exhaustruct # Complains about unused struct fields, that doesn't make any sense
- gci # It's just gets in the way too often with hard-to-understand messages
- ifshort # More hazzle than value
linters-settings:
gci: # This is a workaround that should be removed, see
# https://github.com/golangci/golangci-lint/issues/1490#issuecomment-1186947213
# https://github.com/golangci/golangci-lint/issues/1490
sections:
- standard
- default
- prefix(github.com/yngvark.com/go-cmd-template)