preamble-re-...-dash

# `preamble-re-...-dash`

Proposals referenced in the `...` preamble header use a dash.

## Examples

    error[preamble-re-description-erc-dash]: proposals must be referenced with the form `ERC-N` (not `ERCN` or `ERC N`)
     --> input.md:3:13
      |
    3 | description: Incorrect ERC721
      |             ^^^^^^^^^^^^^^^^^ prohibited pattern was matched
      |
      = info: the pattern in question: `(?i)erc[\s]*[0-9]+`

    error[preamble-re-title-eip-dash]: proposals must be referenced with the form `EIP-N` (not `EIPN` or `EIP N`)
     --> input.md:2:7
      |
    2 | title: Incorrect EIP 1559
      |       ^^^^^^^^^^^^^^^^^^^ prohibited pattern was matched
      |
      = info: the pattern in question: `(?i)eip[\s]*[0-9]+`

## Explanation

The `preamble-re-...-dash` family of lints prevent common mistakes when referencing other proposals, like omitting the hyphen (EIP1234), or replacing it with a space (ERC 1234).

For consistency, all proposals should be referenced in the same way.