You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently moved my repository to Lerna, using it, I decided to create a package to share my ESLint configuration across my other packages.
Locally, everything works properly, because when I install the package.json dependencies, a postinstall hook runs lerna bootstrap, which takes care to link my eslint-config-popper package inside the node_modules of all my others.
But when Code Climate tries to lint my project, it can't find my eslint-config-popper and crashes.
I see 2 problems with the current situation:
Seems like the linting step of Code Climate doesn't install the eslint-* dependencies to make ESLint use them later, but only supports a small set of "certified" packages.
Code Climate doesn't support monorepos (managed by Lerna), so it will never know that I have multiple packages in the same repository
Closing as this is old, probably not relevant any more.
For context, CodeClimate plugins don't have network access, so the required plugins have to be installed in the engine itself and configuration files already present.
Uh oh!
There was an error while loading. Please reload this page.
I recently moved my repository to Lerna, using it, I decided to create a package to share my ESLint configuration across my other packages.
Locally, everything works properly, because when I install the package.json dependencies, a
postinstall
hook runslerna bootstrap
, which takes care to link myeslint-config-popper
package inside thenode_modules
of all my others.But when Code Climate tries to lint my project, it can't find my
eslint-config-popper
and crashes.I see 2 problems with the current situation:
eslint-*
dependencies to make ESLint use them later, but only supports a small set of "certified" packages.If it helps, this is the PR where I added Lerna:
floating-ui/floating-ui#314
This is a sample .babelrc.js:
https://github.com/FezVrasta/popper.js/pull/314/files#diff-da5604fca9fbb9419c26963ae4e32a07
This is my eslint-config-popper:
https://github.com/FezVrasta/popper.js/pull/314/files#diff-129e262bf44c2d16b27ebc7c87c047a1
The text was updated successfully, but these errors were encountered: