core modules docs are misleading
jcollum-nutrien opened this issue · comments
Justin Collum commented
related: #1390
https://github.com/import-js/eslint-plugin-import?tab=readme-ov-file#importcore-modules
The docs definitely imply that all you need for import/core-modules
is a list of modules to import. But it should be
import/core-modules: [2, electron ]
as far as I can tell.
Jordan Harband commented
It shouldn't be; that's how you configure rules, but this is a setting.