GetRule returns the Rule registered under name, and whether it was found.
(name string)
| 28 | |
| 29 | // GetRule returns the Rule registered under name, and whether it was found. |
| 30 | func GetRule(name string) (lint.Rule, bool) { |
| 31 | return globalRegistry.GetRule(name) |
| 32 | } |
| 33 | |
| 34 | // GetFormatter returns the Formatter registered under name, and whether it was found. |
| 35 | func GetFormatter(name string) (lint.Formatter, bool) { |
no test coverage detected