You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have multiple eslint warnings for the id-length rule.
This ticket is to:
Fix all these eslint warnings. This SHOULD mean actually fixing them, but could also mean adding an eslint-disable-line, if applicable.
Change the id-length rule from a warning to an error so we do not introduce new warnings in the future.
As the purpose of this rule is to make sure variable names easily provide context, I propose we add one, maybe two exceptions of short var names that the context is usually a given:
i: well known to represent an incrementer.
e: I could understand this one going either as error or event, so if the consensus is don't allow e, that's fine
The text was updated successfully, but these errors were encountered:
spencern
added
the
good first issue
For issues that a new contributor could likely submit a pull request for without needing much help
label
Jul 8, 2019
We have multiple eslint warnings for the
id-length
rule.This ticket is to:
eslint
warnings. This SHOULD mean actually fixing them, but could also mean adding aneslint-disable-line
, if applicable.id-length
rule from awarning
to anerror
so we do not introduce new warnings in the future.As the purpose of this rule is to make sure variable names easily provide context, I propose we add one, maybe two exceptions of short var names that the context is usually a given:
i
: well known to represent an incrementer.e
: I could understand this one going either aserror
orevent
, so if the consensus is don't allowe
, that's finehttps://eslint.org/docs/2.0.0/rules/id-length#options
The text was updated successfully, but these errors were encountered: