Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--quiet mode reports todos as errors #415

Open
steveszc opened this issue Nov 17, 2022 · 0 comments · May be fixed by #416
Open

--quiet mode reports todos as errors #415

steveszc opened this issue Nov 17, 2022 · 0 comments · May be fixed by #416
Assignees

Comments

@steveszc
Copy link

steveszc commented Nov 17, 2022

As noted in #394, eslint-formatter-todo is not properly processing results when run with eslint's --quiet flag.
This results in TODOs being displayed in the printed output, and the error counts incorrectly include todos.

The primary cause of this is noted here: #394 (comment)
(the filtered results used in quiet mode include todos, when it should only include errors)

return message.severity !== Severity.warn;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant