BodyFullStopRule checks that the body does NOT end with a given character.
| 40 | |
| 41 | // BodyFullStopRule checks that the body does NOT end with a given character. |
| 42 | type BodyFullStopRule struct{ Char string } |
| 43 | |
| 44 | func (r *BodyFullStopRule) Name() string { return "body-full-stop" } |
| 45 | func (r *BodyFullStopRule) Apply(s lint.RuleSetting) error { |
nothing calls this directly
no outgoing calls
no test coverage detected