Skip to content

Commit 8f00f76

Browse files
authored
prefer-global-this: Also exclude outerWidth and outerHeight (#2549)
1 parent 8cebcf4 commit 8f00f76

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rules/prefer-global-this.js

+2
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ const windowSpecificAPIs = new Set([
8484
'resizeBy',
8585
'innerWidth',
8686
'innerHeight',
87+
'outerWidth',
88+
'outerHeight',
8789
'scrollX',
8890
'pageXOffset',
8991
'scrollY',

0 commit comments

Comments
 (0)