Skip to content

Commit

Permalink
add missing lints to keep enabled all default ones
Browse files Browse the repository at this point in the history
  • Loading branch information
camilamacedo86 committed Jan 17, 2020
1 parent 9075c01 commit 1d356a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ import (
)

func ProjectExist() bool {
_, err := os.Stat("PROJECT")
if err != nil {
if _, err := os.Stat("PROJECT"); err != nil {
return false
}

Expand Down
3 changes: 3 additions & 0 deletions scripts/verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ golangci-lint run --disable-all \
--enable=goconst \
--enable=maligned \
--enable=gosec \
--enable=staticcheck \
--enable=unused \
--enable=gosimple

##todo(camilamacedo86): The following checks requires fixes in the code
# --enable=golint
Expand Down

0 comments on commit 1d356a3

Please sign in to comment.