-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy path.golangci.yml
57 lines (54 loc) · 898 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
54
55
56
57
run:
deadline: 120s
tests: false
linters:
enable:
- bodyclose
- deadcode
- depguard
- dupl
- errcheck
- exportloopref
- goconst
- gochecknoglobals
- gochecknoinits
- goconst
- gocritic
- gocyclo
- godox
- gofmt
- goimports
- gosec
- gosimple
- govet
- ineffassign
- lll
- megacheck
- misspell
- nakedret
- nolintlint
- prealloc
- revive
- staticcheck
- stylecheck
- typecheck
- unconvert
- unparam
- unused
- varcheck
- whitespace
fast: false
linters-settings:
gofmt:
simplify: false
goimports:
local-prefixes: gopkg.in/launchdarkly,github.com/launchdarkly
revive:
rules:
- name: exported
arguments:
- disableStutteringCheck
issues:
exclude-use-default: false
max-same-issues: 1000
max-per-linter: 1000