You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a reference in the tsconfig.json is not found the eslint plugin import-x can not resolve any imports. I would expect there to be an error stating something like "One of the references in your tsconfig.json can not be found".
Currently, as a resolver, it doesn't provide any error info, it just doesn't resolve successfully, but on the other hand, a broken tsconfig reference should not break other references resolution, so this indeed seems like a bug of unrs-resolver, I'll try to fix this incorrect behavior there.
By the way, would adding error info into ReolveResult make sense? cc @SukkaW
When a reference in the
tsconfig.json
is not found the eslint plugin import-x can not resolve any imports. I would expect there to be an error stating something like "One of the references in your tsconfig.json can not be found".See this reproduction Repo for details. Commit 1 everything works Commit 2 is broken.
The text was updated successfully, but these errors were encountered: