Skip to content

Commit

Permalink
prefer-global-this - Also exclude outerWidth and outerHeight
Browse files Browse the repository at this point in the history
  • Loading branch information
fregante authored Feb 1, 2025
1 parent 8cebcf4 commit 94ab7b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rules/prefer-global-this.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ const windowSpecificAPIs = new Set([
'resizeBy',
'innerWidth',
'innerHeight',
'outerWidth',
'outerHeight',
'scrollX',
'pageXOffset',
'scrollY',
Expand Down

0 comments on commit 94ab7b3

Please sign in to comment.