-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yml
66 lines (63 loc) · 1.34 KB
/
.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
54
55
56
57
58
59
60
61
62
63
64
65
66
run:
deadline: 10m
build-tags:
- integration
skip-dirs:
- data
- docker
- docs
- scripts
- templates
- vendor
linters-settings:
goimports:
# put imports beginning with prefix after 3rd-party packages;
# it's a comma-separated list of prefixes
local-prefixes: github.com/hiromaily
misspell:
locale: US
revive:
# see https://golangci-lint.run/usage/linters/#revive
# see https://github.com/mgechev/revive#available-rules for details.
ignore-generated-header: true
severity: warning
confidence: 0.8
rules:
- name: indent-error-flow
severity: warning
gci:
sections:
- standard
- default
- prefix(github.com/hiromaily)
#unused:
# check-exported: true
issues:
exclude:
- type name will be used
- "HeaderMap is deprecated: HeaderMap exists"
exclude-use-default: false
# Use default
#linters:
# disable-all: true
# enable:
# - deadcode
# #- errcheck
# - gofumpt
# - goimports
# - gosimple
# - govet
# - ineffassign
# - misspell
# - revive
# - staticcheck
# - structcheck
# - typecheck
# - unused
# - varcheck
# presets:
# # only next presets exist:
# # bugs|comment|complexity|error|format|import|metalinter|module|performance|sql|style|test|unused
# - format
# - unused
# fast: false