preamble-enum-...
The ...
header is a recognized value.
Examples
error[preamble-enum-category]: preamble header `category` has an unrecognized value --> input.md:9:10 | 9 | category: Unknown | ^^^^^^^^ must be one of: `Core`, `Networking`, `Interface`, `ERC` |
error[preamble-enum-status]: preamble header `status` has an unrecognized value --> input.md:7:8 | 7 | status: Invalid | ^^^^^^^^ must be one of: `Draft`, `Review`, `Last Call`, `Final`, `Stagnant`, `Withdrawn`, `Living` |
error[preamble-enum-type]: preamble header `type` has an unrecognized value --> input.md:8:6 | 8 | type: Unknown | ^^^^^^^^ must be one of: `Standards Track`, `Meta`, `Informational` |
Explanation
The preamble-enum-...
family of lints make
sure that a front matter (or preamble) field's value is one
of the permitted choices.
For further information about each field, see EIP-1.