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 (#50)

* chore(linter): fix linter errors, remove deprecated allow leading spaces

* chore(codeql): remove toolchain in go.mod to pass
  • Loading branch information
KellyMerrick authored Dec 13, 2023
1 parent 5a3b258 commit 76aa4b1
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 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
2 changes: 1 addition & 1 deletion cmd/vela-influx/plugin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"
)

func TestInflux_Plugin_Exec(t *testing.T) {
func TestInflux_Plugin_Exec(_ *testing.T) {
// TODO Write this test
}

Expand Down
2 changes: 1 addition & 1 deletion cmd/vela-influx/write_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"
)

func TestInflux_Write_Exec(t *testing.T) {
func TestInflux_Write_Exec(_ *testing.T) {
// TODO Write this test
}

Expand Down
2 changes: 0 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ module github.com/go-vela/vela-influx

go 1.21

toolchain go1.21.5

require (
github.com/Masterminds/semver/v3 v3.2.1
github.com/go-vela/types v0.22.0
Expand Down

0 comments on commit 76aa4b1

Please sign in to comment.