Skip to content
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
@axelboc

Description

@axelboc

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Difficulty: EasySomeone with little to no experience in TSLint should be able to send a pull request for this issue.Good First Issue 🙌Howdy, neighbor!Status: Accepting PRsType: Rule FeatureAdding a feature to an existing rule.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions