This repository has been archived by the owner on May 11, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yml
63 lines (60 loc) · 3.74 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
linters: # https://golangci-lint.run/usage/linters/
fast: true
enable:
- 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://github.com/dominikh/go-tools/tree/master/cmd/staticcheck
- structcheck # https://github.com/opennota/check
- typecheck # -
- unused # https://github.com/dominikh/go-tools/tree/master/unused
- 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
# - asciicheck # https://github.com/tdakkota/asciicheck
# - depguard # https://github.com/OpenPeeDeeP/depguard
# - dogsled # https://github.com/alexkohler/dogsled
# - dupl # https://github.com/mibk/dupl
# - funlen # https://github.com/ultraware/funlen
# - gci # https://github.com/daixiang0/gci
# - 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/alecthomas/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
# - gomodguard # https://github.com/ryancurrah/gomodguard
# - goprintffuncname # https://github.com/jirfag/go-printf-func-name
# - gosec # https://github.com/securego/gosec
# - interfacer # https://github.com/mvdan/interfacer
# - lll # https://github.com/walle/lll
# - maligned # https://github.com/mdempsky/maligned
# - misspell # https://github.com/client9/misspell
# - nakedret # https://github.com/alexkohler/nakedret
# - nlreturn # https://github.com/ssgreg/nlreturn
# - nestif # https://github.com/nakabonne/nestif
# - nolintlint # https://github.com/golangci/golangci-lint/tree/master/pkg/golinters/nolintlint
# - prealloc # https://github.com/alexkohler/prealloc
# - rowserrcheck # https://github.com/jingyugao/rowserrcheck
# - scopelint # https://github.com/kyoh86/scopelint
# - sqlclosecheck # https://github.com/ryanrolds/sqlclosecheck
# - stylecheck # https://github.com/dominikh/go-tools/tree/master/stylecheck
# - testpackage # https://github.com/maratori/testpackage
# - unconvert # https://github.com/mdempsky/unconvert
# - unparam # https://github.com/mvdan/unparam
# - whitespace # https://github.com/ultraware/whitespace
# - wsl # https://github.com/bombsimon/wsl
# - https://github.com/kyoh86/looppointer