Skip to content

Commit

Permalink
Enable some more linters, address finding
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Jun 1, 2024
1 parent 157d0ef commit 17d4f8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ linters:
- goconst
- gocritic
#- gocyclo
#- gofmt
- gofmt
- goimports
#- gomnd
#- goprintffuncname
Expand All @@ -39,10 +39,10 @@ linters:
- govet
- ineffassign
#- lll
#- misspell
- misspell
#- nakedret
#- noctx
#- nolintlint
- nolintlint
#- rowserrcheck
#- scopelint
- staticcheck
Expand Down
1 change: 0 additions & 1 deletion command.go
Original file line number Diff line number Diff line change
Expand Up @@ -1460,7 +1460,6 @@ func (c *Command) UseLine() string {

// DebugFlags used to determine which flags have been assigned to which commands
// and which persist.
// nolint:goconst
func (c *Command) DebugFlags() {
c.Println("DebugFlags called on", c.Name())
var debugflags func(*Command)
Expand Down

0 comments on commit 17d4f8f

Please sign in to comment.