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

Cannot disable eslint-plugin-node and eslint-plugin-n rules #613

Closed
sinedied opened this issue Oct 5, 2021 · 3 comments
Closed

Cannot disable eslint-plugin-node and eslint-plugin-n rules #613

sinedied opened this issue Oct 5, 2021 · 3 comments

Comments

@sinedied
Copy link

sinedied commented Oct 5, 2021

Adding "node/no-unsupported-features/es-syntax": "off" to the rules section do not disable all related errors.

This is particularly problematic for me since there's a false positive due to dynamic import() (issue: mysticatea/eslint-plugin-node#250) and I cannot find a way to turn off the error.

Is there something I missed?

@XhmikosR
Copy link
Contributor

XhmikosR commented Oct 8, 2021

This might be a duplicate of #598. In theory, setting nodeVersion to false should disable the related rules, but due to #598 it doesn't.

@jonahsnider
Copy link
Contributor

I experienced the same issue which is what prompted #625, also from using import()

@fregante
Copy link
Member

This was fixed by #761 in v0.59.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants