Skip to content

Commit

Permalink
chore: add ginkgolinter
Browse files Browse the repository at this point in the history
  • Loading branch information
PG2000 committed May 23, 2024
1 parent e1497bf commit ec805f8
Show file tree
Hide file tree
Showing 15 changed files with 102 additions and 93 deletions.
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ linters:
- dupl
- errcheck
- exportloopref
- ginkgolinter
- goconst
- gocyclo
- gofmt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ linters:
- dupl
- errcheck
- exportloopref
- ginkgolinter
- goconst
- gocyclo
- gofmt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ linters:
- dupl
- errcheck
- exportloopref
- ginkgolinter
- goconst
- gocyclo
- gofmt
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/cli/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ plugins:
c.projectVersion = projectVersion

Expect(c.resolvePlugins()).To(Succeed())
Expect(len(c.resolvedPlugins)).To(Equal(1))
Expect(c.resolvedPlugins).To(HaveLen(1))
Expect(plugin.KeyFor(c.resolvedPlugins[0])).To(Equal(qualified))
},
Entry("fully qualified plugin", "foo.example.com/v1", "foo.example.com/v1"),
Expand Down
Loading

0 comments on commit ec805f8

Please sign in to comment.