Closed
Description
Anybody who can explain why inside this resolver used getTsconfig
function for project
config option instead of tsconfig nearest of source file
https://github.com/import-js/eslint-import-resolver-typescript/blob/master/src/index.ts#L366
For example monorepo has meny packages
Settings of import resolver is
Now we get multiple project paths
If I use eslintrc config inside packages with root
directive I don't need to know anything about the rest of the tsconfig in the another project.
All this paths participate in calculations every time but all what we need its resolve import path inside only one package.
Why we cant use getTsconfig only for current file?
It would be much faster
Metadata
Metadata
Assignees
Labels
No labels