【发布时间】:2013-07-04 20:36:04
【问题描述】:
我正在尝试使用 grunt 运行 jshint。这可行,但现在我希望输出为 HTML。这是我的 grunt 文件
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
jshint: {
all: ['Gruntfile.js', 'src/*.js']
, options: {
//reporter: 'jslint'
reporter:'checkstyle'
, reporterOutput: 'jshint.html'
}
}
});
grunt.loadNpmTasks('grunt-contrib-jshint');
};
运行这个 grunt taks,输出是 XML。有什么建议可以把它变成输出 HTML 的东西吗?
非常感谢
【问题讨论】:
标签: javascript html gruntjs jshint