-
Notifications
You must be signed in to change notification settings - Fork 10
/
.golangci.yaml
49 lines (48 loc) · 796 Bytes
/
.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
linters:
enable:
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- typecheck
- unused
# - asasalint
- containedctx
# - cyclop
- dogsled
- dupl
- durationcheck
- errchkjson
- errorlint
- exhaustive
- exportloopref
- forbidigo
- forcetypeassert
- gochecknoglobals
# - gocognit
- goconst
- gocritic
- gofmt
- gomoddirectives
- gomodguard
- gosec
- importas
- lll
- misspell
- nilerr
- nilnil
- nonamedreturns
- prealloc
- predeclared
- revive
- unconvert
- unparam
- wastedassign
- testpackage
issues:
exclude-rules:
# Exclude some linters from running on tests files.
- path: _test\.go
linters:
- lll