Skip to content

Add option for custom symbles to no-top-level-browser-globals #1234

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

Open
RedHatter opened this issue May 20, 2025 · 0 comments
Open

Add option for custom symbles to no-top-level-browser-globals #1234

RedHatter opened this issue May 20, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@RedHatter
Copy link

Description

Say I have a custom function that wraps a browser global for example getCookieValue. This function shouldn't be used at the top level due to the use of a browser global but no-top-level-browser-globals has no way to know that.

I propose an option for the rule that allows the user to define additional symbols that should be checked for.

@RedHatter RedHatter added the enhancement New feature or request label May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant