Changes from @japgolly's branch
Opened this issue · 6 comments
As first mentioned in #8, on my branch I made the following changes:
- changed colours of filenames
- made most colours bold so they are more readable on black backgrounds (at least in my envs)
- in the by-filename report at the end
- sort by filename
- only print if more than one file
- print total error/warning count per file
- don't print line numbers
- consolidate problem ids where possible (eg.
[1-4,9]
instead of[1,2,3,4,9]
)
- print total errors and warnings
@Duhemm said:
Hey @japgolly, I've been looking in more details at your changes, and I had missed that you removed the line numbers from the summary. That's basically the reason why I created this reporter :( Can you think of a way of adapting your changes while keeping the line numbers from the summary? Maybe a flag that would let users switch between the 2 modes?
@japgolly Really cool! Can you put the colors and other potentially configurable options in the contraband schema? Do you know when you can PR it? I would like to open a PR to sbt/sbt soon. Hopefully this can make it into sbt 1.0 (probably not as default though).
Are the blue numbers (error id) in the summary necessary? It might be clearer to only display the filename and line numbers.