eipw icon indicating copy to clipboard operation
eipw copied to clipboard

feat: Add preamble-future-date lint for last-call-deadline validation

Open apeaircreative opened this issue 1 year ago • 1 comments

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.

apeaircreative avatar Dec 13 '24 04:12 apeaircreative

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?

apeaircreative avatar Jan 03 '25 20:01 apeaircreative