chore: remove window restriction

This commit is contained in:
Anthony Fu 2023-05-31 09:52:26 +02:00
parent aefa76e48a
commit 610d886afd

View File

@ -263,7 +263,6 @@ module.exports = {
'error',
{ name: 'global', message: 'Use `globalThis` instead.' },
{ name: 'self', message: 'Use `globalThis` instead.' },
{ name: 'window', message: 'Use `globalThis` instead.' },
{ name: 'isNaN', message: 'Use `Number.isNaN` instead' },
{ name: 'isFinite', message: 'Use `Number.isFinite` instead' },
{ name: 'parseFloat', message: 'Use `Number.parseFloat` instead' },