Skip to content

Commit ec805f8

Browse files
committed
chore: add ginkgolinter
1 parent e1497bf commit ec805f8

File tree

15 files changed

+102
-93
lines changed

15 files changed

+102
-93
lines changed

.golangci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ linters:
6868
- dupl
6969
- errcheck
7070
- exportloopref
71+
- ginkgolinter
7172
- goconst
7273
- gocyclo
7374
- gofmt

docs/book/src/cronjob-tutorial/testdata/project/.golangci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ linters:
2222
- dupl
2323
- errcheck
2424
- exportloopref
25+
- ginkgolinter
2526
- goconst
2627
- gocyclo
2728
- gofmt

docs/book/src/getting-started/testdata/project/.golangci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ linters:
2222
- dupl
2323
- errcheck
2424
- exportloopref
25+
- ginkgolinter
2526
- goconst
2627
- gocyclo
2728
- gofmt

docs/book/src/multiversion-tutorial/testdata/project/api/v2/zz_generated.deepcopy.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/cli/cli_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ plugins:
372372
c.projectVersion = projectVersion
373373

374374
Expect(c.resolvePlugins()).To(Succeed())
375-
Expect(len(c.resolvedPlugins)).To(Equal(1))
375+
Expect(c.resolvedPlugins).To(HaveLen(1))
376376
Expect(plugin.KeyFor(c.resolvedPlugins[0])).To(Equal(qualified))
377377
},
378378
Entry("fully qualified plugin", "foo.example.com/v1", "foo.example.com/v1"),

0 commit comments

Comments
 (0)