-
Notifications
You must be signed in to change notification settings - Fork 2
/
.golangci.yml
55 lines (52 loc) · 968 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
47
48
49
50
51
52
53
54
55
run:
tests: false
timeout: 5m
linters-settings:
cyclop:
max-complexity: 15
skip-tests: true
lll:
line-length: 130
gofumpt:
extra-rules: true
gosec:
excludes:
- G101
- G402
tagliatelle:
case:
use-field-name: true
rules:
json: pascal
linters:
enable-all: true
disable:
- execinquery # deprecated
- exportloopref # deprecated
- gocyclo # duplicate of cyclop
- gomnd # deprecated
- depguard
- dupl
- err113
- exhaustive
- exhaustruct
- forcetypeassert
- funlen
- gochecknoglobals
- gochecknoinits
- godox
- mnd
- gomoddirectives
- ireturn
- lll
- nlreturn
- nonamedreturns
- tagliatelle
- varnamelen
- wrapcheck
- wsl
issues:
exclude-use-default: false
exclude:
- "ST1000: at least one file in a package should have a package comment"
- "package-comments: should have a package comment"