Skip to content

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

Open
@RedHatter

Description

@RedHatter

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions