eipw
eipw copied to clipboard
feat: Add preamble-future-date lint for last-call-deadline validation
Adds a new preamble-future-date lint that validates the last-call-deadline field in EIP preambles. According to EIP-1, this field must be today or a future date when status is "Last Call", using ISO 8601 format (YYYY-MM-DD). The lint includes comprehensive tests and clear error messages. Fixes #21.
Hey @SamWilsn I have some updates.
I've added more test cases inspired by #93, covering:
- Image alt text handling
- Self-references
- Mixed contexts (code with EIP references)
Not sure how to merge but the solution is on #121
All tests are passing. Can you let me know if things look good?