import/no-internal-modules
is not a great substitution for TSLint's no-submodule-imports
#1111
Labels
area: incorrect converter
Rule converter with incomplete, incorrect, or invalid rule names and/or arguments
good first issue
Good for newcomers; welcome aboard!
status: accepting prs
Please, send in a PR to resolve this! ✨
🐛 Bug Report
tslint-to-eslint-config
version: 2.6.0Actual Behavior
Relates to: #175
import/no-internal-modules
is not a great substitution for TSLint'sno-submodule-imports
.no-submodule-imports
prevents submodules from other node packages from being imported, whereimport/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#1430Reproduction
Examples can be found at import-js/eslint-plugin-import#1430
The text was updated successfully, but these errors were encountered: