GetFormatter returns the Formatter registered under name, and whether it was found.
(name string)
| 33 | |
| 34 | // GetFormatter returns the Formatter registered under name, and whether it was found. |
| 35 | func GetFormatter(name string) (lint.Formatter, bool) { |
| 36 | return globalRegistry.GetFormatter(name) |
| 37 | } |
| 38 | |
| 39 | // Rules returns all registered rules. |
| 40 | func Rules() []lint.Rule { |
no test coverage detected