molindo / eslint-config-molindo

ESLint config that implements the Molindo styleguide and helps to catch errors.
MIT License
1 stars 2 forks source link

Move peer dependencies to dependencies #42

Closed amannn closed 3 years ago

amannn commented 4 years ago

This should be blocked by https://github.com/eslint/eslint/issues/3458, however I just found this option on the CLI:

  --resolve-plugins-relative-to path::String  A folder where plugins should be
                                              resolved from, CWD by default

Maybe with that we could work around the issue.

amannn commented 4 years ago

Maybe this is unblocked now.

See:

ESLint will now resolve plugins relative to the entry configuration file. This means that shared configuration files that are located outside the project can now be colocated with the plugins they require.

From the 7.0 release notes.

amannn commented 3 years ago

It seems like if the shared eslint config contains all the necessary plugins, this is no longer an issue 🎉

EDIT: Wrong, it's still an issue 😔