polygonplanet / sublime-text-eslint

ESLint any JavaScript file in Sublime Text
24 stars 7 forks source link

Show all messages and differentiate between severity (error vs warn) #8

Closed leslc closed 8 years ago

leslc commented 8 years ago

@polygonplanet

I'd like to know if a message is a warning or error (because errors will fail our build). Here's a change I made to show it. The current output was probably tailored to what you want, but if you find this useful, please consider it for merging. Thank you.

Changes

Output shows "Warn" or "Error" before message. The warning and error counts are separated. All messages are shown.

image

polygonplanet commented 8 years ago

Great! I was concerned that of being displayed without being scrolled to the bottom of the console if all errors are shown, but it was displayed without a problem.

leslc commented 8 years ago

Thanks, @polygonplanet. I like the simplicity of this plugin for eslinting when you want to (instead of always ON when the context doesn't make sense).