shortest import path with eslint + tsconfig.json paths
Is there any way to configure eslint (I am using
eslint-plugin-import eslint-import-resolver-typescriptas well) to use the shortest import between my "absolute" path configured in my tsconfig, and just the relative path? For example if I have"src/*": ["./src/*"]defined in my paths, I want the linter to picksrc/components/myComponent/MyComponentover../../../components/myComponent/MyComponent, but pick./MyComponentoversrc/components/myComponent/MyComponent. Thx