dustinspecker / gomega-lint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:MIT License


Languages

Language:Go 98.1%Language:Makefile 1.9%