Closed amannn closed 10 months ago
It seems like there's a way to get importing from dependencies to work by using require.resolve: https://github.com/kripod/eslint-config/blob/master/packages/eslint-config-base/index.js
require.resolve
There's been an update: https://github.com/eslint/eslint/issues/3458#issuecomment-1239811334
I think this is no longer necessary based on my latest tests (TypeScript project).
It seems like there's a way to get importing from dependencies to work by using
require.resolve
: https://github.com/kripod/eslint-config/blob/master/packages/eslint-config-base/index.js