markdown-req-section

Required sections are present in the body of the proposal.

Examples

error[markdown-req-section]: body is missing section(s): `Abstract`, `Specification`, `Rationale`, `Security Considerations`, `Copyright`
--> input.md
 |
 |
 = help: must be at the second level (`## Heading`)

Explanation

markdown-req-section makes sure all the sections required in EIP-1 are present.

The sections required by this lint provide valuable context for readers and editors, and details necessary for implementers. Proposals without these sections would be too incomplete to be used.

It is convention that no headings in the markdown file use level one (i.e. # Some Heading.) All sections should be at level two (## Some Heading) or deeper. Headings required by this lint must be at exactly level two.