microsoft / fluentui-contrib

Monorepo for contributor extension packages to Fluent UI
MIT License
29 stars 31 forks source link

chore: update eslint to disallow globals #181

Closed spmonahan closed 3 months ago

spmonahan commented 4 months ago

Accessing global objects can cause problems in multi-window applications because we may be accessing a global object in the wrong window context.

This change enables the eslint no-restricted-globals rule to disallow global access.

For more details see the corresponding PR in Fluent UI: https://github.com/microsoft/fluentui/pull/30967

This change does not address problems in houdini-utils specifically as those will be addressed separately.