-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.golangci.yml
More file actions
49 lines (48 loc) · 946 Bytes
/
Copy path.golangci.yml
File metadata and controls
49 lines (48 loc) · 946 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
version: "2"
linters:
default: none
enable:
- bodyclose
- errcheck
- gocritic
- gosec
- govet
- ineffassign
- revive
- staticcheck
- unused
- prealloc
settings:
govet:
enable-all: true
disable:
- shadow
- fieldalignment
exclusions:
rules:
- path: _test\.go
linters:
- exported
- path: _test\.go
linters:
- prealloc
- gosec
- linters:
- revive
text: "exported (.+) should have comment"
- linters:
- revive
text: "exported (.+) should be of the form"
- linters:
- revive
text: "package-comments:"
- linters:
- revive
text: "var-naming: avoid package names"
- linters:
- revive
text: "var-naming: avoid meaningless package names"
run:
timeout: 30m
issues-exit-code: 1
tests: true