Skip to content

Commit

Permalink
lint: Add nolint comments
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
  • Loading branch information
justaugustus committed Sep 6, 2020
1 parent 59e895b commit 3a4034a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions zeitgeist.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import (
// Variables set by GoReleaser on release
var (
version = "dev"
commit = "none"
date = "unknown"
commit = "none" // nolint: deadcode,gochecknoglobals,unused,varcheck
date = "unknown" // nolint: deadcode,gochecknoglobals,unused,varcheck
)

// Initialise logging level based on LOG_LEVEL env var, or the --verbose flag.
Expand Down Expand Up @@ -129,6 +129,7 @@ func main() {
}

// Default action when no action is passed: display the help
// nolint: gocritic
app.Action = func(c *cli.Context) error {
return cli.ShowAppHelp(c)
}
Expand Down

0 comments on commit 3a4034a

Please sign in to comment.