mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-08 05:56:37 +00:00
Lint-fix: Ignore goconst
This commit is contained in:
committed by
Calle Pettersson
parent
0eab86c731
commit
e24e0dc9f5
6
Makefile
6
Makefile
@@ -1,11 +1,5 @@
|
||||
export GOOS=windows
|
||||
|
||||
lint:
|
||||
gometalinter --vendor --config gometalinter.config ./...
|
||||
|
||||
test:
|
||||
go test -v ./...
|
||||
|
||||
build:
|
||||
promu build -v
|
||||
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
"Disable": [
|
||||
"gocyclo",
|
||||
"maligned",
|
||||
"megacheck"
|
||||
"megacheck",
|
||||
"goconst"
|
||||
],
|
||||
"Exclude": [
|
||||
"don't use underscores in Go names",
|
||||
|
||||
Reference in New Issue
Block a user