You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm facing the problem that my absolute imports, e.g. ./myDir will result in errors like Unable to resolve path to module './myDir'. I figure that's b/c the setting moduleDirectory doesn't exist here. Before, with eslint-plugin-import, my settings looked like similar to that:
I apologize If I'm missing something or this behavior isn't related to your plugin - that's just my best guess. I'm in the middle to migrate to eslint 9 and seem to have to adjust lots of things by myself, so it's possible I messing up something else. I think the original solution came back then from https://stackoverflow.com/a/70741539/5767484.
The text was updated successfully, but these errors were encountered:
Oh, thank you for the fast reply! I presumed it must be _import resp. my import alias because this is what I had to use another places in the config, e.g. for rules: ["_import/no-unresolved": "error"]. Idk whether this is intended or unavoidable since I'm lacking a deeper understanding on how the config file gets used, though - I'm just probing to get things running again.
Thank you also for suggesting this alternative - I'll give it a try if I face more import-related problems! But I love the import sorting of this plugin. :)
I'm facing the problem that my absolute imports, e.g.
./myDir
will result in errors likeUnable to resolve path to module './myDir'
. I figure that's b/c the settingmoduleDirectory
doesn't exist here. Before, witheslint-plugin-import
, my settings looked like similar to that:moduleDirectory
doesn't exist in the TypeScript settings you've defined:I apologize If I'm missing something or this behavior isn't related to your plugin - that's just my best guess. I'm in the middle to migrate to eslint 9 and seem to have to adjust lots of things by myself, so it's possible I messing up something else. I think the original solution came back then from https://stackoverflow.com/a/70741539/5767484.
The text was updated successfully, but these errors were encountered: