Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

eslint: Use require.resolve() for parser and presets #946

Merged
merged 1 commit into from
Jun 8, 2018
Merged

eslint: Use require.resolve() for parser and presets #946

merged 1 commit into from
Jun 8, 2018

Conversation

edmorley
Copy link
Member

@edmorley edmorley commented Jun 8, 2018

This ensures that they can be found (and the expected version used), even when using yarn link.

Unfortunately the plugins option does not support filepaths, so it's still necessary to install/link the plugin packages when running ESLint in a project that uses linked Neutrino monorepo packages:
eslint/eslint#6237

...however this at least reduces the number that need to be installed.

This ensures that they can be found (and the expected version used),
even when using `yarn link`.

Unfortunately the `plugins` option does not support filepaths, so
it's still necessary to install/link the plugin packages when running
ESLint in a project that uses linked Neutrino monorepo packages:
eslint/eslint#6237

...however this at least reduces the number that need to be installed.
@edmorley edmorley added this to the v9 milestone Jun 8, 2018
@edmorley edmorley self-assigned this Jun 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

2 participants