mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-26 14:46:35 +00:00
Explicitly set which linters are enabled
This commit is contained in:
committed by
Calle Pettersson
parent
4c69ed1610
commit
e04d3f414d
@@ -1,9 +1,24 @@
|
|||||||
{
|
{
|
||||||
"Disable": [
|
"Disable": [
|
||||||
|
"goconst",
|
||||||
"gocyclo",
|
"gocyclo",
|
||||||
|
"gosec",
|
||||||
"maligned",
|
"maligned",
|
||||||
"megacheck",
|
"megacheck"
|
||||||
"goconst"
|
],
|
||||||
|
"Enable": [
|
||||||
|
"deadcode",
|
||||||
|
"errcheck",
|
||||||
|
"golint",
|
||||||
|
"gotype",
|
||||||
|
"gotypex",
|
||||||
|
"ineffassign",
|
||||||
|
"interfacer",
|
||||||
|
"structcheck",
|
||||||
|
"unconvert",
|
||||||
|
"varcheck",
|
||||||
|
"vet",
|
||||||
|
"vetshadow"
|
||||||
],
|
],
|
||||||
"Exclude": [
|
"Exclude": [
|
||||||
"don't use underscores in Go names",
|
"don't use underscores in Go names",
|
||||||
|
|||||||
Reference in New Issue
Block a user