import-js/eslint-plugin-import

Doesn't differentiate between `module-name` and `@namespace/module-name`

Open

#1,747 opened on May 4, 2020

View on GitHub
 (4 comments) (0 reactions) (0 assignees)JavaScript (4,946 stars) (1,540 forks)batch import
bughelp wanted

Description

I'm working in a monorepo with a package named @arc/dotenv which requires dotenv. This triggers import/no-self-import. My suspicion is that it's not taking the namespace into account. Another possibility: the package lives at <root>/tools/dotenv, so perhaps the issue comes up after the module gets resolved?

Contributor guide

Doesn't differentiate between `module-name` and `@namespace/module-name` · import-js/eslint-plugin-import#1747 | Good First Issue