Skip to content

warn about using global variables #12

@4www

Description

@4www

Really cool project!! thanks for sharing the code!

I've noticed (by importing it into my code, and having the linter run), that in the script two variables are not declared (thus used as global variables into the global scope)

I might be missing something, but adding let or const in front of their declaration could fix it.

Let me know, and I could open a PR if needed.

Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions