Skip to content

Commit 4faa0fb

Browse files
committed
Lint: add config
- add //nolint
1 parent c4f09a8 commit 4faa0fb

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

acceptance-tests/.golangci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
version: "2"
2+
3+
linters:
4+
default: standard
5+
6+
settings:
7+
errcheck:
8+
check-blank: true # assignment to blank identifier: `_ := someFunc()`.
9+
10+
formatters:
11+
enable:
12+
- goimports

acceptance-tests/testhelpers/bosh.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
boshlog "github.com/cloudfoundry/bosh-utils/logger"
99
"github.com/cloudfoundry/bosh-utils/system"
10-
. "github.com/onsi/gomega"
10+
. "github.com/onsi/gomega" //nolint:staticcheck
1111
)
1212

1313
type BOSH struct {

0 commit comments

Comments
 (0)