disable golint

This commit is contained in:
Shawn Smith
2022-03-22 11:52:20 +09:00
parent e4ed167d86
commit 5aeaec8b44
3 changed files with 3 additions and 3 deletions

View File

@@ -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},

View File

@@ -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

View File

@@ -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