-
Notifications
You must be signed in to change notification settings - Fork 3
/
.golangci.yml
61 lines (59 loc) · 1.08 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
run:
concurrency: 4
timeout: 1m
issues-exit-code: 1
tests: true
skip-dirs-use-default: true
skip-files:
- ".*_mock_test.go$"
allow-parallel-runners: true
# all available settings of specific linters
linters-settings:
govet:
check-shadowing: true
enable-all: true
disable:
- fieldalignment
golint:
min-confidence: 0.8
gofmt:
simplify: true
goimports:
local-prefixes: github.com/circonus-labs,github.com/openhistogram,github.com/circonus
misspell:
locale: US
unused:
check-exported: false
unparam:
check-exported: false
linters:
enable:
- errcheck
- exportloopref
- gocritic
- godot
- godox
- gofmt
- gosec
- gosimple
- govet
- ineffassign
- megacheck
- misspell
- prealloc
- predeclared
- revive
- staticcheck
- typecheck
- unconvert
- unparam
- unused
disable:
- scopelint # deprecated, replaced by exportloopref
# - golint -- deprecated, replaced by revive
# - gci
disable-all: false
presets:
- bugs
- unused
fast: false