gulp-htmlhint-checkstyle-file-reporter
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -11,5 +11,4 @@ /** | ||
var fs = require('fs') | ||
var path = require('path') | ||
var store = [] | ||
var htmlhintResults = [] | ||
@@ -86,7 +85,7 @@ function _reporter (results) { | ||
module.exports = function (file) { | ||
store = store.concat(file.htmlhint.messages) | ||
htmlhintResults = htmlhintResults.concat(file.htmlhint.messages) | ||
return _reporter(store.map(function (msg) { | ||
return _reporter(htmlhintResults.map(function (msg) { | ||
return { | ||
file: path.relative(file.cwd, msg.file), | ||
file: msg.file, | ||
error: { | ||
@@ -93,0 +92,0 @@ severity: msg.error.type, |
{ | ||
"name": "gulp-htmlhint-checkstyle-file-reporter", | ||
"description": "gulp-htmlhint checkstyle file reporter", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"author": "Kenichiro Murata", | ||
@@ -6,0 +6,0 @@ "bugs": { |
6076
84