give gofmt more weight

This commit is contained in:
Shawn Smith
2016-03-28 20:47:05 +09:00
parent 16b0c80f9f
commit 6a454d25d9
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ func (g GoCyclo) Name() string {
// Weight returns the weight this check has in the overall average
func (g GoCyclo) Weight() float64 {
return .10
return .05
}
// Percentage returns the percentage of .go files that pass gofmt

View File

@@ -13,7 +13,7 @@ func (g GoFmt) Name() string {
// Weight returns the weight this check has in the overall average
func (g GoFmt) Weight() float64 {
return .35
return .40
}
// Percentage returns the percentage of .go files that pass gofmt