diff --git a/.golangci.yml b/.golangci.yml index 44382f6..f2bec79 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -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 diff --git a/action/playbook/flag.go b/action/playbook/flag.go index c54eaab..1cd3bdd 100644 --- a/action/playbook/flag.go +++ b/action/playbook/flag.go @@ -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")