import-js / eslint-plugin-import

ESLint plugin with rules that help validate proper imports.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

core modules docs are misleading

jcollum-nutrien opened this issue · comments

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.

It shouldn't be; that's how you configure rules, but this is a setting.