ant-design/scripts/lesshint-report.js
2016-04-29 17:04:56 +08:00

13 lines
274 B
JavaScript

/* eslint-disable */
var originReport = require('lesshint/lib/reporters/stylish').report;
module.exports = {
report: function (errors) {
// Use full path
errors.forEach(function(error) {
error.file = error.fullPath;
});
originReport(errors);
}
};