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
Describe the new feature or change to an existing feature you'd like to see
Currently the linter / type checker does not complain if a reference to window.event is used in a function. This is a common footgun in JavaScript and should be avoided in AMP's code.
Describe alternatives you've considered
Code review is one way to avoid adding references to window.event in code, but it can miss instances.
Describe the new feature or change to an existing feature you'd like to see
Currently the linter / type checker does not complain if a reference to
window.event
is used in a function. This is a common footgun in JavaScript and should be avoided in AMP's code.Describe alternatives you've considered
Code review is one way to avoid adding references to
window.event
in code, but it can miss instances./cc @erwinmombay
The text was updated successfully, but these errors were encountered: