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