runem / lit-analyzer

Monorepository for tools that analyze lit-html templates
MIT License
318 stars 36 forks source link

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

Closed FelixSchuSi closed 4 years ago

FelixSchuSi commented 4 years ago

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 commented 4 years ago

Looks great ☀️ Thanks for your contribution!