Skip to content

Commit

Permalink
chore(linter): fix linter errors, remove deprecated allow leading spa…
Browse files Browse the repository at this point in the history
…ces (#47)
  • Loading branch information
KellyMerrick committed Dec 13, 2023
1 parent 3e2f55e commit 7b9cb05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ linters-settings:

# https://github.com/golangci/golangci-lint/blob/master/pkg/golinters/nolintlint
nolintlint:
allow-leading-space: true # allow non-"machine-readable" format (ie. with leading space)
allow-unused: false # allow nolint directives that don't address a linting issue
require-explanation: true # require an explanation for nolint directives
require-specific: true # require nolint directives to be specific about which linter is being skipped
Expand Down
3 changes: 2 additions & 1 deletion action/playbook/flag.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ import (
"github.com/sirupsen/logrus"
)

// nolint: funlen, gocyclo // ignore statements for flags
// setFlags creates the command line with flags to run ansible-playbook.
//
//nolint:funlen, gocyclo // ignore statements for flags
func setFlags(p *Playbook) *exec.Cmd {
logrus.Trace("entered plugin.playbook.setFlags")
defer logrus.Trace("exited plugin.playbook.setFlags")
Expand Down

0 comments on commit 7b9cb05

Please sign in to comment.