-
Notifications
You must be signed in to change notification settings - Fork 60
Expand file tree
/
Copy path.golangci.yml
More file actions
43 lines (39 loc) · 977 Bytes
/
.golangci.yml
File metadata and controls
43 lines (39 loc) · 977 Bytes
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
version: "2"
linters:
settings:
errcheck:
exclude-functions:
- (*github.com/spf13/cobra.Command).MarkFlagRequired
- (*github.com/spf13/cobra.Command).MarkFlagFilename
- github.com/spf13/cobra.MarkFlagRequired
- github.com/spf13/cobra.MarkFlagFilename
- github.com/spf13/cobra.MarkFlagFilename
- (*github.com/spf13/cobra.Command).Help
- (*github.com/spf13/viper.Viper).BindPFlags
- (*github.com/spf13/pflag.FlagSet).MarkHidden
gocyclo:
min-complexity: 20
gocritic:
enabled-tags:
- performance
- style
- experimental
disabled-checks:
- hugeParam
exclusions:
generated: lax
rules:
- path: _test\.go
linters:
- errcheck
formatters:
settings:
goimports:
local-prefixes: github.com/elastic/ecctl
issues:
max-issues-per-linter: 0
max-same-issues: 0
output:
formats:
tab:
path: stderr