You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a project where we use { cliOptions: { quiet: true }} in order to not report warnings in CI.
We noticed recently that if a file had an error in it, CI would report all of the errors/warnings as errors (similar to this discussion: #21). However, because I have quiet set to true, I would expect that ESLint should only report the errors.
I have a project where we use
{ cliOptions: { quiet: true }}
in order to not report warnings in CI.We noticed recently that if a file had an error in it, CI would report all of the errors/warnings as errors (similar to this discussion: #21). However, because I have
quiet
set to true, I would expect that ESLint should only report the errors.I did some digging and it looks like the issue is happening because on this line, ESLint is properly filtering the events as expected:
https://github.com/jest-community/jest-runner-eslint/blob/main/src/runner/runESLint.js#L238
But then we pass the unfiltered report here: https://github.com/jest-community/jest-runner-eslint/blob/main/src/runner/runESLint.js#L249
I'm happy to submit a PR to fix!
The text was updated successfully, but these errors were encountered: