Skip to content

Releases: nunnatsa/ginkgolinter

v0.5.0

14 Sep 05:04
Compare
Choose a tag to compare

This release adds new check to the linter: it now enforces using BeTrue() and BeFalse() instead of Equal(true) and Equal(false)

v0.4.1

20 Jul 10:40
Compare
Choose a tag to compare

Support nogo

v0.4.0

18 Jul 11:16
Compare
Choose a tag to compare

Added a new warning, when comparing errors to nil. Error can be a function that returns an error, or an error value. Comparison to nil is either a direct one, e.g. Expect(err == nil) or by a wrong assertion, like BeNil() or Equal(nil).

Added new wrong nil assertion check; like Expect(x).To(Equal(nil)).

Full Changelog: v0.3.1...v0.4.0

v0.3.1

17 Jul 04:55
Compare
Choose a tag to compare

Rename the executable to ginkgolinter.

v0.3.0

16 Jul 11:07
Compare
Choose a tag to compare
  • allows install the CLI using go install:
    go install github.com/nunnatsa/ginkgolinter/cmd/ginkgolinter@latest
  • supports other ways of importing gomega:
    import "github.com/onsi/gomega"
    // or
    import customname "github.com/onsi/gomega"
    in addition to the already supported form:
    import . "github.com/onsi/gomega"
  • skip files without gomega import.

v0.2.0

12 Jul 13:07
Compare
Choose a tag to compare

What's Changed

  • Add new check: wrong nil assertion
  • Add command line flags to suppress checks

Full Changelog: v0.1.1...v0.2.0

v0.1.1

11 Jul 05:24
Compare
Choose a tag to compare

Can run without ginkgo and gomega dependencies.

v0.1.0

10 Jul 06:53
Compare
Choose a tag to compare

First release of ginkgo-linter