-
Notifications
You must be signed in to change notification settings - Fork 5
/
.golangci.yml
46 lines (44 loc) · 879 Bytes
/
.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
run:
skip-dirs:
- pkg/analyzer/testdata
linters-settings:
golint:
min-confidence: 0
goconst:
min-len: 2
min-occurrences: 3
misspell:
locale: US
gci:
local-prefixes: github.com/kulti/thelper
nolintlint:
require-explanation: true
require-specific: true
linters:
enable-all: true
disable:
- cyclop
- deadcode # deprecated
- depguard # Not looks useful for this project
- dupl
- exhaustivestruct # deprecated
- exhaustruct # Make use of zero-values and partial initialization.
- gocognit
- goerr113
- golint
- gomnd
- ifshort # deprecated
- interfacer
- lll
- maligned
- nestif
- nilnil
- nlreturn
- nosnakecase # deprecated
- paralleltest
- prealloc
- scopelint
- structcheck # deprecated
- varcheck # deprecated
- varnamelen
- wsl