Right now, xo.config.js can’t fully leverage imports in codebases that use path aliases:
{
"compilerOptions": {
"paths": {
"@/*": ["./src/*"]
}
}
Relative imports work, but modules that depend on other aliased imports won’t.
If there’s consensus around adding support for this, I’d be happy to open a PR.
Right now,
xo.config.jscan’t fully leverage imports in codebases that use path aliases:{ "compilerOptions": { "paths": { "@/*": ["./src/*"] } }Relative imports work, but modules that depend on other aliased imports won’t.
If there’s consensus around adding support for this, I’d be happy to open a PR.