-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.golangci.yaml
59 lines (56 loc) · 913 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
50
51
52
53
54
55
56
57
58
59
issues:
max-issues-per-linter: 0
new: false
max-same-issues: 0
fix: true
output:
print-issued-lines: false
print-linter-name: true
uniq-by-line: false
path-prefix: ''
sort-results: true
linters:
enable-all: true
disable:
# deprecated
- deadcode
- exhaustivestruct
- golint
- ifshort
- interfacer
- maligned
- nosnakecase
- scopelint
- structcheck
- varcheck
# Don't care for
- depguard
- dupl
- dupword
- exhaustive
- exhaustruct
- funlen
- godox
- ireturn
- lll
- nestif
- paralleltest
- tagliatelle
- testpackage
- thelper
- varnamelen
- wrapcheck
# Temp
- contextcheck
- cyclop
- errorlint
- gocognit
- goerr113
- gomnd
- maintidx
- bodyclose
linters-settings:
revive:
rules:
- name: unexported-return
disabled: true