-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.golangci.yml
75 lines (73 loc) · 1.33 KB
/
.golangci.yml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
run:
timeout: 3m
issues:
max-issues-per-linter: 1000
max-same-issues: 1000
linters:
enable-all: true
disable:
- funlen
- cyclop
- gochecknoglobals
- exhaustivestruct
- maligned
- scopelint
- golint
- interfacer
- gomnd
- gomoddirectives
- ifshort # it takes a huge amount of time to execute
- varnamelen # it's very nitpicking
- ireturn # we're forced to due to the cdk
- godox
- maintidx
- misspell
- nolintlint # why not? (use config instead?)
# we should enable at some point
- deadcode
- dupl
- dogsled
- forbidigo
- gochecknoinits
- gocognit
- nonamedreturns
- interfacebloat
- contextcheck
- goconst
- gocritic
- gosec
- gocyclo
- lll
- revive
- prealloc
- nestif
- nakedret
- unconvert
- wsl
- containedctx
- errchkjson
- govet
- ineffassign
- nilerr
- nilnil
- nlreturn
- noctx
- paralleltest
- stylecheck
- testpackage
- wrapcheck
- unused
- bodyclose
- varcheck
- errorlint
- forcetypeassert
- gci
- tagliatelle
- goerr113
- exhaustive
- exhaustruct
- nosnakecase # deprecated (since v1.48.1)
- structcheck # deprecated (since v1.49.0)
- rowserrcheck
- sqlclosecheck
- wastedassign