mirror of
https://github.com/zalando-incubator/kube-metrics-adapter.git
synced 2025-01-03 07:40:09 +00:00
Added golangci linter (#51)
Signed-off-by: Arjun Naik <arjun.rn@gmail.com>
This commit is contained in:
19
.golangci.yml
Normal file
19
.golangci.yml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
run:
|
||||||
|
linters-settings:
|
||||||
|
golint:
|
||||||
|
min-confidence: 0.9
|
||||||
|
|
||||||
|
linters:
|
||||||
|
disable-all: true
|
||||||
|
enable:
|
||||||
|
- staticcheck
|
||||||
|
- ineffassign
|
||||||
|
- golint
|
||||||
|
- goimports
|
||||||
|
- errcheck
|
||||||
|
issues:
|
||||||
|
exclude-rules:
|
||||||
|
# Exclude some staticcheck messages
|
||||||
|
- linters:
|
||||||
|
- staticcheck
|
||||||
|
text: "SA9003:"
|
Reference in New Issue
Block a user