Skip to content

New rule: Use event instead of e or ev in event handler functions #41

@karlhorky

Description

@karlhorky

The e below should be event, to promote learning what this variable is:

<input
  onChange={(e) => setName(e.currentTarget.value)}
/>

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions