eslint-plugin-react
eslint-plugin-react copied to clipboard
WIP: react version detection in a monorepo
WIP pull request to track progress on #2218 .
Seems like a good first start, but this would need tests.
@ljharb, yup! I was just trying to see how involved this change was going to be. Because of the current test set up I'm probably going to have to spend some time figuring out the least invasive way to implement the tests.
I'll try to look into this again during the weekend.
@migueloller any interest in completing this PR?
@ljharb, in addition to the small tweak I did to the existing tests, were there specific test cases you were thinking we should cover?
My hope would be, inside tests/files, a recreation of a monorepo setup where detect would have returned the wrong result without your change.
@ljharb, got it. That sounds reasonable! I will do my best to get something set up sometime soon. I apologize I haven't put in more work on this PR, I've been busy 😬