go-lint-rule-demo

How make a new linter in Go for Go code with unit tests

Note: Do NOT use this. This is an example linter to catch fmt.Printf usage and replace with log.Printf.

Usage

  1. go build ./cmd/...
  2. ./linter ./...

License

MIT