Open nobiit opened 1 week ago
It seems to be related to this paragraph.
https://github.com/import-js/eslint-plugin-import/blob/main/src/exportMap/builder.js#L52
I think I need to cut off the fragment in the path?
I see a '\x00' character in the path variable. Does it make sense?
I had success with this little patch, it works for me :D
https://github.com/nobiit/eslint-plugin-import/commit/27e886257db3a448a4fb46d16b50b258d156ff45
It seems the problem comes from eslint-import-resolver-typescript
. I hope if someone sees this problem confirm it (to avoid blame on my part)
P/s: eslint-import-resolver-typescript
: v3.6.1
It is very very strange to see a null character in any string, especially here.
Can you confirm that eslint-import-resolver-typescript is producing that character? If so, please file an issue there.
If package.json has a package installed from git, it will include sha in the path, and this seems to cause an error with the
import/namespace
ruleError
Other information:
eslint-plugin-import version
v2.29.1