-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yml
53 lines (50 loc) · 893 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
run:
timeout: 10m
tests: false
allow-parallel-runners: true
linters-settings:
staticcheck:
go: "1.17"
stylecheck:
go: "1.17"
cyclop:
skip-tests: true
misspell:
locale: GB
goimports:
local-prefixes: github.com/yitsushi/gelm
govet:
check-shadowing: true
nolintlint:
allow-leading-space: false
allow-unused: false
require-explanation: true
require-specific: false
varnamelen:
ignore-names:
- err
- idx
issues:
max-same-issues: 0
max-issues-per-linter: 0
exclude-rules:
- text: "https://"
linters:
- lll
- path: _test\.go
linters:
- goerr113
- gocyclo
- errcheck
- gosec
- dupl
- funlen
- testpackage
linters:
enable-all: true
disable:
- golint # deprecated
- interfacer # deprecated
- ireturn
- maligned # deprecated
- scopelint # deprecated