✅ The extends: 'recommended'
property in a configuration file enables this rule.
Many browser events have both an "up" and a "down" version that can be listened to (mouse{up,down}
, pointer{up,down}
, etc). For accessibility purposes, it's better to bind to the "up" event for pointer events. This rule helps guide developers in the right direction by calling out binding to the "mousedown" and "pointerdown" events.
This rule forbids the following:
This rule allows the following:
Component arguments are not validated, even if their name looks like the intent might be to register a down event handler.