maticnetwork / Polygon-Improvement-Proposals

Polygon Improvement Proposals (PIP)
Other
85 stars 54 forks source link

Investigate using `eipw` to check PIPs in pull requests #117

Open SamWilsn opened 1 year ago

SamWilsn commented 1 year ago

Hey!

I'm the author of eipw, the tool we use to check EIPs for consistency in pull requests. eipw is a markdown lint tool, and is not the bot that handles merging and permissions for EIPs.

If you folks are interested, we could investigate whether eipw would be a useful tool to integrate with this repository. Personally, I'd love to see it get adopted by other projects, and maybe even increase the bus factor above one.

If you aren't familiar with eipw, it's the tool that generates these annotations:

image

It can be configured using TOML, like so:

[lints.markdown-re-pip-dash]
kind = "markdown-regex"
mode = "excludes"
pattern = '(?i)pip[\s]*[0-9]+'
message = "proposals must be referenced with the form `PIP-N` (not `PIPN` or `PIP N`)"
noelportillo commented 2 months ago

Goog