Skip to content

[Feature Request] Allow to configure maximum depth of relative imports #17

Open
@Dema

Description

@Dema

I use some kind of fractal design pattern plus atomic design for my apps and usually it is pretty normal to have imports one or two folders up like '../MyComponent' or ../../MyComponent.

Because these are "related" components I'm okay with them being imported relatively, but I want to disable imports with 3 or more "../" path segments. It would be great to add some config parameter like maxDepth:2 for these cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions