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

Open
sinedied opened this issue Oct 5, 2021 · 2 comments · May be fixed by #672
Open

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

sinedied opened this issue Oct 5, 2021 · 2 comments · May be fixed by #672

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()

@aladdin-add aladdin-add linked a pull request Jun 21, 2022 that will close this issue
2 tasks
@fregante fregante changed the title Cannot disable node/no-unsupported-features/es-syntax Cannot disable eslint-plugin-node and eslint-plugin-n rules Aug 6, 2022
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