We have tsconfig
{
"compilerOptions": {
"rootDir": ".",
"baseUrl": ".",
"paths": {
"@tests/*": [
"src/__tests__/*"
],
}
},
}
And some files have imports in paths like this src/__tests__/utils/makeAutoClosedSQLiteDB
Here the path is related to a root dir.
My expectation is eslint-plugin-paths must replace such paths to a @tests/utils/makeAutoClosedSQLiteDB.
Currently the plugin does not react on such paths, because a paths does not seems as a relative paths.
We have tsconfig
{ "compilerOptions": { "rootDir": ".", "baseUrl": ".", "paths": { "@tests/*": [ "src/__tests__/*" ], } }, }And some files have imports in paths like this
src/__tests__/utils/makeAutoClosedSQLiteDBHere the path is related to a root dir.
My expectation is
eslint-plugin-pathsmust replace such paths to a@tests/utils/makeAutoClosedSQLiteDB.Currently the plugin does not react on such paths, because a paths does not seems as a relative paths.