Is there a way to prevent deep imports in tsconfig?
I am looking to limit imports beyond the library path:
import { * } from '@geo/map-lib';
Despite my attempts, imports like @geo/map-lib/src/...
are still allowed.
{
"extends": "../../tslint.json",
"rules": {
"import-blacklist": [true, "@geo/map-lib"],
"directive-selector": [true, "attribute", "lib", "camelCase"],
"component-selector": [true, "element", "lib", "kebab-case"]
}
}