-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yml
101 lines (98 loc) · 6.32 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
linters:
fast: true
enable:
#d - deadcode # https://github.com/remyoudompheng/go-misc/tree/master/deadcode
- errcheck # https://github.com/kisielk/errcheck
- gosimple # https://github.com/dominikh/go-tools/tree/master/simple
- govet # https://golang.org/cmd/vet/
- ineffassign # https://github.com/gordonklaus/ineffassign
- staticcheck # https://staticcheck.io/
#d - structcheck # https://github.com/opennota/check
- typecheck # -
- unused # https://github.com/dominikh/go-tools/tree/master/unused
#d - varcheck # https://github.com/opennota/check
#! - bodyclose # https://github.com/timakin/bodyclose
- exhaustive # https://github.com/nishanths/exhaustive
- exportloopref # https://github.com/kyoh86/exportloopref
- gocritic # https://github.com/go-critic/go-critic
- noctx # https://github.com/sonatard/noctx
# - looppointer # https://github.com/kyoh86/looppointer
# - asasalint # https://github.com/alingse/asasalint
# - asciicheck # https://github.com/tdakkota/asciicheck
# - bidichk # https://github.com/breml/bidichk
# - containedctx # https://github.com/sivchari/containedctx
# - contextcheck # https://github.com/sylvia7788/contextcheck
# - cyclop # https://github.com/bkielbasa/cyclop
# - decorder # https://gitlab.com/bosi/decorder
# - depguard # https://github.com/OpenPeeDeeP/depguard
# - dogsled # https://github.com/alexkohler/dogsled
# - dupl # https://github.com/mibk/dupl
# - durationcheck # https://github.com/charithe/durationcheck
# - errchkjson # https://github.com/breml/errchkjson
# - errname # https://github.com/Antonboom/errname
# - errorlint # https://github.com/polyfloyd/go-errorlint
# - execinquery # https://github.com/lufeee/execinquery
# - exhaustivestruct # https://github.com/mbilski/exhaustivestruct
# - exhaustruct # https://github.com/GaijinEntertainment/go-exhaustruct
# - forbidigo # https://github.com/ashanbrown/forbidigo
# - forcetypeassert # https://github.com/gostaticanalysis/forcetypeassert
# - funlen # https://github.com/ultraware/funlen
# - gci # https://github.com/daixiang0/gci
# - grouper # https://github.com/leonklingele/grouper
# - gochecknoglobals # https://github.com/leighmcculloch/gochecknoglobals
# - gochecknoinits # https://github.com/leighmcculloch/gochecknoinits
# - gocognit # https://github.com/uudashr/gocognit
# - goconst # https://github.com/jgautheron/goconst
# - gocyclo # https://github.com/fzipp/gocyclo
# - godot # https://github.com/tetafro/godot
# - godox # https://github.com/matoous/godox
# - goerr113 # https://github.com/Djarvur/go-err113
# - gofmt # https://golang.org/cmd/gofmt/
# - gofumpt # https://github.com/mvdan/gofumpt
# - goheader # https://github.com/denis-tingajkin/go-header
# - goimports # https://godoc.org/golang.org/x/tools/cmd/goimports
# - golint # https://github.com/golang/lint
# - gomnd # https://github.com/tommy-muehle/go-mnd
# - gomoddirectives # https://github.com/ldez/gomoddirectives
# - gomodguard # https://github.com/ryancurrah/gomodguard
# - goprintffuncname # https://github.com/jirfag/go-printf-func-name
# - gosec # https://github.com/securego/gosec
# - ifshort # https://github.com/esimonov/ifshort
# - importas # https://github.com/julz/importas
# - interfacer # https://github.com/mvdan/interfacer (deprecated)
# - ireturn # https://github.com/butuzov/ireturn
# - lll # https://github.com/walle/lll
# - maintidx # https://github.com/yagipy/maintidx
# - makezero # https://github.com/ashanbrown/makezero
# - maligned # https://github.com/mdempsky/maligned (deprecated)
# - misspell # https://github.com/client9/misspell
# - nakedret # https://github.com/alexkohler/nakedret
# - nestif # https://github.com/nakabonne/nestif
# - nilerr # https://github.com/gostaticanalysis/nilerr
# - nilnil # https://github.com/Antonboom/nilnil
# - nlreturn # https://github.com/ssgreg/nlreturn
# - nolintlint # https://github.com/golangci/golangci-lint/blob/master/pkg/golinters/nolintlint/README.md
# - nonamedreturns # https://github.com/firefart/nonamedreturns
# - nosnakecase # https://github.com/sivchari/nosnakecase
# - nosprintfhostport # https://github.com/stbenjam/no-sprintf-host-port
# - paralleltest # https://github.com/kunwardeep/paralleltest
# - prealloc # https://github.com/alexkohler/prealloc
# - predeclared # https://github.com/nishanths/predeclared
# - promlinter # https://github.com/yeya24/promlinter
# - revive # https://github.com/mgechev/revive
# - rowserrcheck # https://github.com/jingyugao/rowserrcheck
# - scopelint # https://github.com/kyoh86/scopelint (deprecated)
# - sqlclosecheck # https://github.com/ryanrolds/sqlclosecheck
# - stylecheck # https://github.com/dominikh/go-tools/tree/master/stylecheck
# - tagliatelle # https://github.com/ldez/tagliatelle
# - tenv # https://github.com/sivchari/tenv
# - testpackage # https://github.com/maratori/testpackage
# - thelper # https://github.com/kulti/thelper
# - tparallel # https://github.com/moricho/tparallel
# - unconvert # https://github.com/mdempsky/unconvert
# - unparam # https://github.com/mvdan/unparam
# - varnamelen # https://github.com/blizzy78/varnamelen
# - wastedassign # https://github.com/sanposhiho/wastedassign
# - whitespace # https://github.com/ultraware/whitespace
# - wrapcheck # https://github.com/tomarrell/wrapcheck
# - wsl # https://github.com/bombsimon/wsl