-
-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: file-extension-in-import
to consider exports map
#258
Comments
Happy to open a PR if feature request is approved |
This issue should be labeled a bug, not an enhancement. The Here is a situation I run into a lot: // eslint-disable-next-line node/file-extension-in-import
import { red } from "kleur/colors"; |
feat: node builtins Co-authored-by: Sebastian Good <2230835+scagood@users.noreply.github.com>
When importing an extension-less path, I'd like for
file-extension-in-import
to check if the path exists in the target package's exports map. If it exists, it should not error.eg.
Given the following export map.
Related #255
The text was updated successfully, but these errors were encountered: