/gomega-lint

Primary LanguageGoMIT LicenseMIT

gomega-lint

opinionated linter for gomega

Install

  1. go install github.com/dustinspecker/gomega-lint/cmd/gomega-lint@latest

Usage

Check for violations

gomega-lint ./...

Fix

Some rules support automatically fixing violations.

gomega-lint -fix ./...

Run individual rules

By default, gomega-lint runs all rules. To specify which rules to run, use the following:

gomega-lint -noformatannotation -requireannotation -usenewwitht -usepointto ./...

Rules

License

MIT