Closed
Description
Hello,
so in my project I am using this little neat trick with package.json file. Let's say I have images folder and inside that folder I have a package.json file with only one line: { "name":"images" }
. That way, I can use imports like this:
import MarkerImage from 'images/marker.png';
And it will work just fine. The problem is that eslint-plugin-import that it's unable to resolve path module and also that "images" should be listed in the project's dependencies. Is there any way to fix this without disabling these rules?
Metadata
Metadata
Assignees
Labels
No labels