-
-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document usage with pnpm #334
Comments
I don't think projects should have to document how to work with a random package manager. Why would you even use |
// @zkochan |
And the idea is that if a user has chosen |
It is probably this issue: import-js/eslint-plugin-import#828
|
But the issue is about noting this info in the README to improve DX of pnpm users. Of course, it would be too much to add a big how-to block but maybe it would be fine just to link in this issue or a gist somewhere with steps how to make it work with pnpm Something like:
|
Closing this, as someone searching for "xo and pnpm" will be able to find this issue easily. Didn't mean to annoy or upset anyone. |
It is unnecessary to add the ESLint dependencies to |
You can do that with raw pnpm Using three settings: shamefully-hoist, hoist, and hoist-pattern |
To get XO to work on a
pnpm
directory, all ESLint-related XO-dependencies must be installed as adevDependency
. This can be accomplished with the following command:To fix the
eslint-plugin-import
issues (#270),eslint-import-resolver-node
must also be installed:Finally, if
"prettier"
is set totrue
in XO's config, it must be installed too:I think it would be prudent to document this in the README.
The text was updated successfully, but these errors were encountered: