mirror of
https://github.com/gojp/goreportcard.git
synced 2026-01-28 22:39:05 +08:00
disable golint
This commit is contained in:
@@ -56,7 +56,7 @@ func Run(dir string) (ChecksResult, error) {
|
||||
checks := []Check{
|
||||
GoFmt{Dir: dir, Filenames: filenames},
|
||||
GoVet{Dir: dir, Filenames: filenames},
|
||||
GoLint{Dir: dir, Filenames: filenames},
|
||||
// GoLint{Dir: dir, Filenames: filenames},
|
||||
GoCyclo{Dir: dir, Filenames: filenames},
|
||||
License{Dir: dir, Filenames: []string{}},
|
||||
Misspell{Dir: dir, Filenames: filenames},
|
||||
|
||||
@@ -13,7 +13,7 @@ func (g GoVet) Name() string {
|
||||
|
||||
// Weight returns the weight this check has in the overall average
|
||||
func (g GoVet) Weight() float64 {
|
||||
return .25
|
||||
return .30
|
||||
}
|
||||
|
||||
// Percentage returns the percentage of .go files that pass go vet
|
||||
|
||||
@@ -13,7 +13,7 @@ func (g IneffAssign) Name() string {
|
||||
|
||||
// Weight returns the weight this check has in the overall average
|
||||
func (g IneffAssign) Weight() float64 {
|
||||
return 0.05
|
||||
return 0.10
|
||||
}
|
||||
|
||||
// Percentage returns the percentage of .go files that pass gofmt
|
||||
|
||||
Reference in New Issue
Block a user