Skip to content

Commit

Permalink
disable golint
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnps committed Mar 22, 2022
1 parent e4ed167 commit 5aeaec8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion check/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down
2 changes: 1 addition & 1 deletion check/go_vet.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion check/ineffassign.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5aeaec8

Please sign in to comment.