Closed localjo closed 8 years ago
Fixes #5
Sorry for the delay! I've been very busy. Thanks a lot for this. I just left a couple very minor comments. I'll merge it after they're fixed :)
Thanks @AlbertoElias. I force pushed an amended commit with your suggested changes. Should be good to go. By the way, I tried running make test
, but it seems like the tests are failing in the master
branch, so I'm not sure what the state of the tests is. That's probably a separate issue.
I'm not sure about the tests either as this is a fork and I haven't really had time to properly fix it up. I'll merge, thanks a lot!
This improves the reporter so that the stream isn't broken on the first linter warning (it lints all files in the stream before throwing an error). It also adds
breakOnWarning
andprefixLogs
options (both default tofalse
) which allow control over whether linting warnings should throw an error, and whether log lines should be prefixed with[gulp-lintspaces]
. Along with these changes, the formatting is also improved. Here are some screenshots;