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
I agree that the rule should not trigger for arbitrary someVar.on("click", callback) scenarios, but when the property is known to be a jQuery element reference, it should trigger.
The text was updated successfully, but these errors were encountered:
tehhowch
changed the title
False negative for jquery-ember-run when using saved jquery element reference
False negative for jquery-ember-run for many jquery element references
Jun 15, 2023
Yeah that would be a good case to catch. Would require using our getNodeOrNodeFromVariable() helper (which uses findVariable from eslint-utils under the hood) to detect it.
passes, but it should fail.
should also fail, but passes.
I agree that the rule should not trigger for arbitrary
someVar.on("click", callback)
scenarios, but when the property is known to be a jQuery element reference, it should trigger.The text was updated successfully, but these errors were encountered: