gulp-handlebars icon indicating copy to clipboard operation
gulp-handlebars copied to clipboard

Feature Request: Reporters

Open shellscape opened this issue 11 years ago • 2 comments

I'd like to request the ability to use reporters akin to what gulp-jshint and gulp-recess currently allow. While emitting a PluginError is helpful, concatenating all of the encountered errors into one bucket and allowing a reporter to operate on that for meaningful/formatted feedback to the user would be pretty dang great.

shellscape avatar Sep 08 '14 13:09 shellscape

I'm not sure this will be a common request as usually a broken template is a fatal error for most use cases. As this isn't a linting tool (it's pass or fail), reporters may not have a place directly in the plugin itself. However, a code sample here or an example in the repo wouldn't hurt.

What do you think?

lazd avatar Sep 16 '14 17:09 lazd

A code sample is better than nothing. I'm of the opinion that even non-linting plugins/tasks can make use of the reporting model.

shellscape avatar Sep 17 '14 12:09 shellscape