xojs/xo

Cannot disable `eslint-plugin-node` and `eslint-plugin-n` rules

sinedied opened this issue · 2 comments

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?

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.

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