-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Description
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 )
{
//...
"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
Metadata
Metadata
Assignees
Labels
No labels