Skip to content

no-extraneous-dependencies should not complain when importing file from project name #541

@alexmngn

Description

@alexmngn

Hi,
I have a React-native project named "MyProject".
When I import a file from 'MyProject/src/store' (which is valid with react-native, which is the way to load something from the root of the project), it complains.
I think it should detect that's the name of the current project, which is valid, and shouldn't throw an error.

screen shot 2016-09-04 at 10 48 26

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions