I want my typescript project to throw a compile time error when someone imports a specific module from a package. Eg:
import { moduleName } from '@package/name';
This should throw an error like Please import 'moduleName' from '@other/package' instead.
. Need an alternative to eslint rule no-restricted-imports.