Add a linter to require RFC-2119 keywords are capitalized
This isn't a necessity, but it would be nice if the linter called out when keywords are used and forced capitalization of them. This can be useful for readers to understand when the reader intentionally wants a piece of text to be a normative statement (required for conformance to the spec) versus when the author is accidentally reusing a normative word and should update the text so that it's more clear this isn't required.
So the two rules could be:
- Error if capitalized keywords appear outside of the specification section.
- Warn if a non-capitalized keyword appears inside the specification section.
Sound reasonable?
That would be ideal. I'd be alright with warn for both as well based on the amount of complaints about linter being overly strict.
Hey @kdenhartog , would like to work on this task - can you assign me that. Could you clarify the remaining tasks for this issue? Any additional context would be appreciated. Thanks!
There hasn't been formal agreement on this lint, so it's certainly lower priority. We could maybe turn it on warning only?
Ok, I got it. Yes, we can work on just warning only from now on.
I think turning it on warning only to start makes sense. From there we can figure out how people respond to it and go from there. What will be interesting to see is if this is a subtle nudge for EIP authors to start using normative language more or if it's going to just become an annoyance to revert.