FooterLeadingBlankRule checks that when a footer is present, it begins with a blank line (i.e. there is an empty line between body/header and footer).
| 44 | // FooterLeadingBlankRule checks that when a footer is present, it begins with a blank line |
| 45 | // (i.e. there is an empty line between body/header and footer). |
| 46 | type FooterLeadingBlankRule struct{} |
| 47 | |
| 48 | func (r *FooterLeadingBlankRule) Name() string { return "footer-leading-blank" } |
| 49 | func (r *FooterLeadingBlankRule) Apply(_ lint.RuleSetting) error { return nil } |
nothing calls this directly
no outgoing calls
no test coverage detected