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

Only print individual error-message if they exist #142

Merged
merged 1 commit into from
Jul 20, 2015
Merged

Only print individual error-message if they exist #142

merged 1 commit into from
Jul 20, 2015

Conversation

SimenB
Copy link
Owner

@SimenB SimenB commented Jul 18, 2015

I'm currently writing a reporter, but I want to print out per error, not sorted into errors and warnings. Returning blank before the end creates lots of extra whitespace.

This change only prints out per violation-warnings if they exist.

Difference in my reporter is
image

vs.

image

Regarding tests: Do you have any tests on output to the console? I didn't see any, that's why I haven't written one for this change.

(Link to reporter: https://github.com/SimenB/stylint-stylish)

@SimenB SimenB changed the title Only print individual error-message if the exist Only print individual error-message if they exist Jul 19, 2015
@SimenB SimenB mentioned this pull request Jul 19, 2015
rossPatton pushed a commit that referenced this pull request Jul 20, 2015
Only print individual error-message if they exist
@rossPatton rossPatton merged commit bbfc64d into SimenB:develop Jul 20, 2015
@SimenB SimenB deleted the output-from-reporter branch July 20, 2015 08:24
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants