Created by: richardzcode
This is an attempt to address issue #4167
I don't think the check should go beyond CRA project directory. But like mentioned in issue #4167 this was intentional. It'll be great to see what exact case that is.
I've tested the fix with my project setup.