markdown-refs

# `markdown-refs`

ERCs are referenced using ERC-X, while other proposals use EIP-X.

## Examples

    error[markdown-refs]: references to proposals with a `category` of `ERC` must use a prefix of `ERC`
      --> input.md
       |
    18 | This is the motivation for the EIP, which extends [EIP-721](./eip-721.md).
       |

    error[markdown-refs]: references to proposals without a `category` must use a prefix of `EIP`
      --> input.md
       |
    21 | This is the specification for the EIP, which doesn't extend [EIP-123](./eip-123.md) or [ERC-123](./eip-123.md).
       |

    error[markdown-refs]: references to proposals with a `category` of `Core` must use a prefix of `EIP`
      --> input.md
       |
    24 | This is the rationale for the ERC-3074.
       |

## Explanation

`markdown-refs` 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).