-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy path.golangci.yml
More file actions
48 lines (45 loc) · 944 Bytes
/
Copy path.golangci.yml
File metadata and controls
48 lines (45 loc) · 944 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
version: "2"
linters:
enable:
- bodyclose
- copyloopvar
- errorlint
- gosec
- makezero
- paralleltest
- perfsprint
- revive
- unconvert
- unparam
- wastedassign
settings:
gosec:
config:
G306: "0666"
exclusions:
paths:
- _test
rules:
- linters:
- revive
text: 'package-comments: should have a package comment'
- linters:
- staticcheck
# Ignoring "could remove embedded field <FIELD> from selector"
# Stick to current behavior and being explicit of the method to call of the embedded struct.
text: 'QF1008:'
issues:
# Maximum count of issues with the same text.
# Set to 0 to disable.
# Default: 3
max-same-issues: 0
formatters:
enable:
- goimports
settings:
goimports:
local-prefixes:
- github.com/fraenky8/tables-to-go/v2
exclusions:
paths:
- _test