Closed
Description
eslint-plugin-import version: 2.25.0 and 2.25.2
eslint version: 7.32 and 8.1
Reproduction repo: https://github.com/ludofischer/eslint-plugin-import-error-demo
When using the optimize
named import from the svgo 2.8 library, since 2.25 eslint-plugin-import reports
error optimize not found in 'svgo' import/named
while the import was correctly handled as valid in eslint-plugin-import 2.24. svgo uses CommonJS with just a main
package.json
field that points to this file: https://github.com/svg/svgo/blob/master/lib/svgo-node.js
Metadata
Metadata
Assignees
Labels
No labels