eslint-plugin-monorepo
eslint-plugin-monorepo copied to clipboard
Resolve error: unable to load resolver "node".
If eslint-plugin-import is not installed the plugin will throw the following error:
Resolve error: unable to load resolver "node". monorepo/no-relative-import
when trying to resolve an import statement.
I not sure why installing eslint-plugin-import solves this issue (maybe incompatible with @typescript-eslint?). Is there a better way to fix this?
Would you be able to make a minimal repo to reproduce this issue?
Of course! Here you go: https://github.com/sebald/eslint-plugin-monorepo-typescript
I noticed that I haven't mentioned that we are using @typescript-eslint. Sorry about that ☹️ I guess this is an incompatibility with the plugin?
Yeah i met the exactly same issue. Using @typescript-eslint as well.
I can confirm this worked properly after adding in the eslint-plugin-import. We had not configured that plugin, but we will use it eventually, so not terrible, but slightly unfortunate.