This repository was archived by the owner on Jul 15, 2023. It is now read-only.
This repository was archived by the owner on Jul 15, 2023. It is now read-only.
Option request: allow same folder imports (no-relative-import) #493
Closed
Description
Angular generates specs with same folder imports, like:
import { MyComponent } from './my.component';
So it would be really convenient if rule no-relative-import
had an option to ignore imports that point to the same folder as the current file, with ./
.
With this option enabled, the no-relative-import
rule would still have to report unnecessarily complex same folder imports like ./../my/my.component
.