react
react copied to clipboard
[compiler] Only run validations with env.logErrors on outputMode: 'lint'
Summary: These validations are not essential for compilation, with this we only run that logic when outputMode is 'lint'
Test Plan: Update fixtures and run tests
Or were you thinking that we want to use lint mode anyway to test that the file doesn't error?
Yeah, that's why I also changed the files that don't error