Open
Description
🐛 Bug Report
tslint-to-eslint-config
version: 2.6.0- ESLint version: 7.26.0
- Node version: 10.16.1
Actual Behavior
Relates to: #175
import/no-internal-modules
is not a great substitution for TSLint's no-submodule-imports
. no-submodule-imports
prevents submodules from other node packages from being imported, where import/no-internal-modules
will reject submodule imports from the same package. The latter is configurable, but not in a way that provides parity with the former.
Expected Behavior
A rule should be substituted that provides the same behavior as no-submodule-imports
. This issue is being discussed here: import-js/eslint-plugin-import#1430
Reproduction
Examples can be found at import-js/eslint-plugin-import#1430