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).
| 26 | // FooterLeadingBlankRule checks that when a footer is present, it begins with a blank line |
| 27 | // (i.e. there is an empty line between body/header and footer). |
| 28 | type FooterLeadingBlankRule struct{} |
| 29 | |
| 30 | func (r *FooterLeadingBlankRule) Name() string { return "footer-leading-blank" } |
| 31 | func (r *FooterLeadingBlankRule) Apply(_ lint.RuleSetting) error { return nil } |
nothing calls this directly
no outgoing calls
no test coverage detected