pugjs / pug-lint

An unopinionated and configurable linter and style checker for Pug
ISC License
228 stars 51 forks source link

Bug: Reports only single error per file #164

Open pykong opened 5 years ago

pykong commented 5 years ago

test.pug:

tabäle: tr: td Cell
tabäle: tr: td Cell

Command run: ./node_modules/.bin/pug-lint -r inline test.pug

Expected output:

 1:4  error  puglint  unexpected text "äle: "
 2:4  error  puglint  unexpected text "äle: "

Actually received output:

 1:4  error  puglint  unexpected text "äle: "

Exits with code 2.

Tested with pug-lint versions: 2.5.0, 2.4.0 Node: v12.3.1 in nodeenv 1.3.3