EIP-7199 Loosening the scope of EIP linter checks (Linter Scope)

No call decision · Other · EIP status Withdrawn · created 2023-06-20

A now-withdrawn proposal that linter errors on lines not touched by a given PR should not need to be fixed when editing an EIP document.

Why it is needed

When a pull request editing an EIP document is submitted, linter tools such as EIPW check the entire document. This sometimes blocked the PR over long-standing errors on lines the PR did not touch. If someone trying to fix a single typo also has to take on and fix unrelated errors, small contributions become difficult. This proposal sought to make small contributions easier by clearly stating that, unless the Status is being changed, linter errors on untouched lines may be ignored.

What changes

Today

After EIP-7199

Who is affected

In depth

Raising the problem

Under current practice, when a linter tool such as EIPW finds a lint error, it blocks the PR even if the error was not introduced by that PR. This proposal sought to specify that lint errors on unchanged lines may be ignored, except when the Status is being changed.

Proposal content

Using RFC 2119 keywords, it specifies that a pull request updating an EIP should not (SHOULD NOT) be required to fix linter errors on untouched lines unless it is changing the Status. In other words, it is specified as a recommendation rather than a requirement, with an exception for PRs that change the status.

Reason for the proposal

This policy is meant to make it easy for anyone to make a small contribution, such as fixing a single typo or touching only one part of the document. If unrelated linter errors also had to be resolved, the barrier to small contributions would rise.

Security considerations

The source states explicitly that there are no security considerations (None). This proposal is a meta-level provision concerning the EIP repository's contribution process and does not affect the security of any code or protocol.

Withdrawn status

This EIP is in Withdrawn status. The reason for withdrawal is that the policy this proposal sought to address is already documented in EIP-1 and EIP-5069. In other words, it was judged that the content was already covered in existing documentation without needing a separate EIP, so the proposal was withdrawn.

Original EIP · ← EIPs