diff --git a/eslint/.eslintrc.js b/eslint/.eslintrc.js index d4dde271..f4b1f373 100644 --- a/eslint/.eslintrc.js +++ b/eslint/.eslintrc.js @@ -177,8 +177,12 @@ module.exports = { }, globals: { - // read-only globals --------------------------------- + // globals that should never be accessed --------------------------------- + + // Using window.event is most likely a bug, instead the event should be passed through via a parameter, discovered in https://github.com/phetsims/scenery/issues/1053 + event: 'off', + // read-only globals --------------------------------- phet: false, // allow assertions