Skip to content

Commit f81b3a3

Browse files
committed
Document why mouseMove/mouseEnter/mouseLeave are excluded from event list
1 parent 050d2bf commit f81b3a3

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

lib/rules/template-no-passed-in-event-handlers.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
// Comprehensive Ember event handler names
1+
// Ember event handler names that map to Ember's classic event system.
2+
// Matches upstream ember-template-lint's no-passed-in-event-handlers list exactly.
3+
// Note: mouseMove, mouseEnter, and mouseLeave are intentionally excluded —
4+
// upstream does not include them, as they are native DOM events that do not
5+
// have corresponding Ember classic-event aliases on components.
26
const EMBER_EVENTS = new Set([
37
'touchStart',
48
'touchMove',

0 commit comments

Comments
 (0)