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

fix: allow browser globals in eslint #14806

Closed
wants to merge 3 commits into from

Conversation

filipsobol
Copy link
Member

@filipsobol filipsobol commented Aug 17, 2023

Suggested merge commit message (convention)

Fix: Allow browser globals in eslint. See #14173.


Summary:

This PR adds the following configuration to the eslint configuration file:

{
  env: {
    browser: true
  }
}

This allows the use of browser globals, removing the need to "allow" them using /* global XXX */ magic comments.

More about this configuration option: https://eslint.org/docs/latest/use/configure/language-options

@filipsobol filipsobol closed this Jun 13, 2024
@filipsobol filipsobol deleted the ck/14173-allow-browser-globals-in-eslint branch July 22, 2024 14:29
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.

None yet

1 participant