As a team, we prefer more descriptive argument names (i.e. event
over
e
)
Examples of incorrect code for this rule:
const a = 'hello';
import a from 'test';
e => e.preventDefault();
Examples of correct code for this rule:
const hello = 'world';
import Test from 'test';
event => event.preventDefault();
If you're using an iterator and need to have a variable, it would be
appropriate to use i
or j
and disable this rule.
If you're declaring a comparator function, it would be appropriate to
use a
and b
and disable this rule.