Closed JesseParsons closed 1 month ago
Hi Jesse, I think that continuing on error may actually be intentional here - if ESLint ends up returning a non-zero exit code (which is kind of valid and is happening right now) due to rule violations (and misconfiguration as one can see in generated SARIF) we still want to get access to SARIF reports in the next step for further analysis. This may not be the best way to test the plugin E2E going forward since it can hide real issues, but I don't think we can just flip the flag right now.
Fair enough, but I think we should consider running it without the --output-file
flag or somehow being able to see the results without having to look at the SARIF. Otherwise, this step is not really a gate if ESLint and SARIF upload steps succeed.
Hi Jesse, I think that continuing on error may actually be intentional here - if ESLint ends up returning a non-zero exit code (which is kind of valid and is happening right now) due to rule violations (and misconfiguration as one can see in generated SARIF) we still want to get access to SARIF reports in the next step for further analysis. This may not be the best way to test the plugin E2E going forward since it can hide real issues, but I don't think we can just flip the flag right now.