Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update eslint to disallow globals #181

Merged
merged 9 commits into from
Jun 4, 2024

Conversation

spmonahan
Copy link
Contributor

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: microsoft/fluentui#30967

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

@spmonahan spmonahan requested review from a team as code owners May 23, 2024 19:06
@spmonahan spmonahan enabled auto-merge (squash) May 23, 2024 22:40
@Hotell Hotell self-requested a review May 29, 2024 12:17
.eslintrc.json Show resolved Hide resolved
.eslintrc.json Outdated Show resolved Hide resolved
@spmonahan spmonahan requested a review from Hotell May 29, 2024 16:51
Copy link
Contributor

@Hotell Hotell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TY!

@spmonahan spmonahan merged commit 99c887d into microsoft:main Jun 4, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants