Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[no-commonjs] do not report conditional require in a if statement #1439
After this PR, all cases will be treated the same (as conditional requires). A follow up PR will add an option for users to configure whether conditional requires should be reported.
Aug 4, 2019
I highly doubt if anyone is relying on these warnings. The only breaking change is that