Closed
Description
When doing a self-import (at least for scoped packages) I get a n/no-missing-import
error. I'm doing it for my project tests files, and when debugging it, I've traced it down to
eslint-plugin-n/lib/converted-esm/import-meta-resolve.js
Lines 41 to 62 in 2ce285d
package.json
file and returning its contend when called from
. Problem is that at eslint-plugin-n/lib/converted-esm/import-meta-resolve.js
Lines 683 to 688 in 2ce285d
On the other hand, I've found that in fact this file is a transpiled one, probably generated with webpack or something like that, so it's ugly to work with it. Original import-meta-resolve exists, and it's updated from two months ago, so why don't use it instead using a big blob?
Metadata
Metadata
Assignees
Labels
No labels