Skip to content

Improve codefix for 'no-missing-import' rule.#117

Merged
runem merged 1 commit intorunem:1.2.0from
FelixSchuSi:1.2.0-simplify-suggested-import-path
Jul 13, 2020
Merged

Improve codefix for 'no-missing-import' rule.#117
runem merged 1 commit intorunem:1.2.0from
FelixSchuSi:1.2.0-simplify-suggested-import-path

Conversation

@FelixSchuSi
Copy link
Contributor

When generating an import statement for a module further up the directory structure, an unnecessary "./" is prepended.
Currently, import statements like this are generated: import "./../../foo-component".
With this change the generated statements look like this: import "../../foo-component".

@runem
Copy link
Owner

runem commented Jul 13, 2020

Looks great ☀️ Thanks for your contribution!

@runem runem merged commit 750176b into runem:1.2.0 Jul 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants