Repository navigation
eslint-plugin-import not working with Bit #4636
Unanswered
dreamawakening
asked this question in
Help
Replies: 2 comments 1 reply
|
As this rule requires a You can manage dependencies in a
If you do take this route, you loose Bit's automated "workspace" management for dependencies, where if different components require different versions of the same dependency, Bit automates Yarn workspaces or pnpm workspaces (and soon npm workspaces) behind the scenes for this to work seamlessly. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I use
eslint-plugin-importto verify packages I'm importing exist/are correct. It checkspackage.jsonto see if a dependency exists. See this rule for details.However, because I'm installing dependencies with
bit install, it means dependencies aren't populated inpackage.json. Therefore I can't useeslint-plugin-import. I don't want to disable it just so I can use Bit.Is there a way to get this to work with Bit?
All reactions