import-js/eslint-plugin-import

import/no-unresolved can't detect the root package

saschanaz opened this issue · 1 comments

Node.js can do this:

// in package foo, in test script:
import foo from "foo"; // import itself for test!

It seems import/no-unresolved can't handle this.

That functionality comes from the exports field, which resolve does not yet support, and therefore neither do we. When it gets it, so will we.