preamble-refs-...

ERCs referenced in the ... header use the ERC- prefix.

Examples

error[preamble-refs-description]: references to proposals with a `category` of `ERC` must use a prefix of `ERC`
 --> eip-2612.md:4:14
  |
4 | description: EIP-20 approvals via EIP-712 secp256k1 signatures
  |              ^^^^^^ referenced here
  |
error[preamble-refs-title]: references to proposals with a `category` of `ERC` must use a prefix of `ERC`
 --> eip-2612.md:3:29
  |
3 | title: Permit Extension for EIP-20 Signed Approvals
  |                             ^^^^^^ referenced here
  |

Explanation

The preamble-refs-... family of lints ensures that any references to proposals in the ERC category use an ERC prefix (ERC-1234), and EIP is used for everything else (EIP-1234).