-
Notifications
You must be signed in to change notification settings - Fork 2
/
.golangci.yml
46 lines (43 loc) · 861 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
run:
deadline: 10m
build-tags:
- integration
skip-dirs:
- vendor
- pkg/mdns
linters-settings:
misspell:
locale: US
goimports:
# put imports beginning with prefix after 3rd-party packages;
# it's a comma-separated list of prefixes
local-prefixes: github.com/hiromaily
#unused:
# check-exported: true
golint:
min-confidence: 0.8
issues:
exclude:
- type name will be used
- "HeaderMap is deprecated: HeaderMap exists"
exclude-use-default: false
linters:
disable-all: true
enable:
- deadcode
- gosimple
- govet
- ineffassign
- staticcheck
- structcheck
- typecheck
- unused
- varcheck
- goimports
- misspell
- golint
presets:
# only next presets exist: (bugs|complexity|format|performance|style|unused)
- format
- unused
fast: false