-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.golangci.yaml
More file actions
61 lines (55 loc) · 952 Bytes
/
.golangci.yaml
File metadata and controls
61 lines (55 loc) · 952 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
50
51
52
53
54
55
56
57
58
59
60
run:
timeout: 5m
concurrency: 4
fast: true
tests: true
linters:
enable:
- bodyclose
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- revive
- unused
- unparam
- gofmt
- goimports
disable:
- dupl
- gocritic
- funlen
- goconst
- lll
linters-setting:
govet:
check-shadowing: truegocyclo
gocyclo:
min-complexity: 15
goimports:
local-prefixes: github.com/nashabanov/ueba-event-generator
formatters:
enable:
- goimports
issues:
max-same-issue: 0
exclude-rules:
- path: _test\.go
linters:
- unparam
- unused
- dupl
- gomnd
- errcheck
- revive
- path: cmd/
linters:
- gochecknoinits
exclude:
- 'SA1019: rand.Seed has been deprecated'
- 'should have a package comment'
- 'line is \d+ characters'
output:
formats:
- format: colored-line-number