We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
It seems that usage of https://github.com/browserify/resolve#readme instead of plain old require.resolve causes issues when trying to use eslint-plugin-react while passing this settings to eslint when using yarn pnp mode ( facebook/create-react-app#6605 )
require.resolve
eslint-plugin-react
{ //... "settings": { "react": { "version": "detect" } } }
Would you be open to a PR to change this part https://github.com/yannickcr/eslint-plugin-react/blob/master/lib/util/version.js#L14 into a require.resolve('react') ? Thx
require.resolve('react')
The text was updated successfully, but these errors were encountered:
resolve already has PnP compatibility (via browserify/resolve#170). If it's not working, please file a bug on yarn.
resolve
Sorry, something went wrong.
No branches or pull requests
Hello,
It seems that usage of https://github.com/browserify/resolve#readme instead of plain old
require.resolve
causes issues when trying to useeslint-plugin-react
while passing this settings to eslint when using yarn pnp mode ( facebook/create-react-app#6605 )Would you be open to a PR to change this part https://github.com/yannickcr/eslint-plugin-react/blob/master/lib/util/version.js#L14 into a
require.resolve('react')
?Thx
The text was updated successfully, but these errors were encountered: