-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.golangci.yml
More file actions
44 lines (44 loc) · 748 Bytes
/
.golangci.yml
File metadata and controls
44 lines (44 loc) · 748 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
version: "2"
linters:
settings:
dupl:
threshold: 100
funlen:
lines: 100
statements: 50
goconst:
min-len: 2
min-occurrences: 2
gocritic:
enabled-tags:
- diagnostic
- experimental
- opinionated
- performance
- style
gocyclo:
min-complexity: 15
lll:
line-length: 120
misspell:
locale: US
exclusions:
generated: lax
paths:
- test
- third_party$
- builtin$
- examples$
issues:
max-same-issues: 0
formatters:
settings:
goimports:
local-prefixes:
- github.com/atomicptr/crab
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$