preamble-order

# `preamble-order`

The preamble headers are in the correct order.

## Examples

    error[preamble-order]: preamble header `type` is out of order
     --> eip-20.md
      |
    5 | type: Standards Track
      |
      = help: `type` should come after `status`

    error[preamble-order]: preamble has extra header(s)
     --> eip-20.md
      |
    5 | header: value1
      | ^^^^^^ unrecognized header
      |

## Explanation

`preamble-order` makes sure that the fields in the front matter (or preamble) are always in the same order, and that there are no extra fields. See EIP-1 for the list of fields and their order.