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/cmd/vela-hugo/plugin_test.go b/cmd/vela-hugo/plugin_test.go index 7a24e72..7e6d43f 100644 --- a/cmd/vela-hugo/plugin_test.go +++ b/cmd/vela-hugo/plugin_test.go @@ -40,7 +40,7 @@ func TestPlugin_Command(t *testing.T) { Directory: "themes", }, }, - // nolint: gosec // ignore for testing + //nolint:gosec // ignore for testing want: exec.Command( _hugo, fmt.Sprintf("--baseURL=%s", "http://hugo.example.com/"), diff --git a/go.mod b/go.mod index 9298e62..b204065 100644 --- a/go.mod +++ b/go.mod @@ -2,8 +2,6 @@ module github.com/go-vela/vela-hugo go 1.21 -toolchain go1.21.5 - require ( github.com/Masterminds/semver/v3 v3.2.1 github.com/go-vela/types v0.22.0