-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.golangci.yml
More file actions
49 lines (46 loc) · 829 Bytes
/
.golangci.yml
File metadata and controls
49 lines (46 loc) · 829 Bytes
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-settings:
dupl:
threshold: 95
funlen:
lines: 65
statements: 40
gocognit:
min-complexity: 25
goconst:
min-occurrences: 4
lll:
line-length: 120
depguard:
rules:
Main:
list-mode: lax
files:
- $all
- "!$test"
deny:
- pkg: reflect
desc: Please don't use reflect package
linters:
disable-all: true
enable:
# - revive # This will wait for it's turn to be enabled
- staticcheck
- gosec
- dogsled
# - godox # too much FIXMEs in the code now :D
- megacheck
- govet
- gocyclo
- lll
- funlen
- gofmt
- gocognit
- dupl
- depguard
- whitespace
- goconst
- unconvert
issues:
max-issues-per-linter: 0
max-same-issues: 0
exclude-use-default: false