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

Wrong pattern for scheduler local variable #586

Open
rostber opened this issue Jul 25, 2023 · 0 comments
Open

Wrong pattern for scheduler local variable #586

rostber opened this issue Jul 25, 2023 · 0 comments

Comments

@rostber
Copy link

rostber commented Jul 25, 2023

The local variable with name scheduler does a lint error. Needs to distinguish local and window variables.

Current version: "eslint-plugin-compat": "4.1.4".

Example:

....
    schedulers.map((scheduler) => {
      // scheduler is not supported in Safari 14.1, iOS Safari 12.2-12.5 eslint compat/compat
      const schedulerData = scheduler.type
....
@rostber rostber changed the title Wrong patter for scheduler local variables Wrong pattern for scheduler local variables Jul 25, 2023
@rostber rostber changed the title Wrong pattern for scheduler local variables Wrong pattern for scheduler local variable Jul 25, 2023
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

No branches or pull requests

1 participant