wawandco / milo

Milo is an HTML linter written in Go
MIT License
20 stars 0 forks source link

Number of errors on the output #54

Closed BryanMoslo closed 4 years ago

BryanMoslo commented 4 years ago

It would be great if Milo displays the number of Found Errors at the end of the result 👍 Thanks guys!!

paganotoni commented 4 years ago

We currently show the following (as an example) when faults are found:

Running all reviewers, see more details in: https://github.com/wawandco/milo#configuration.

assessment/index.html:80:1: alt-required: Alt attribute required for images, areas and input[type=image] (0012:attribute/alt-required)
...

faults found

My proposal is to change that last message to be something like:

Running all reviewers, see more details in: https://github.com/wawandco/milo#configuration.

assessment/index.html:80:1: alt-required: Alt attribute required for images, areas and input[type=image] (0012:attribute/alt-required)
...

23 faults found

@BryanMoslo Does this look good to you? One thing to consider is other output formats. This message shows independent of the selected output format.

paganotoni commented 4 years ago

Solved by #60