1
내가 그런트와 jshint에 대한 데모를 썼다 jshint - JUnit을-기자, 코드는 아래에 나열된 :예외 :
module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('jshint-junit-reporter');
grunt.initConfig({
jshint: {
all: ['Gruntfile.js'],
reporter: require("jshint-junit-reporter"),
reporterOutput: "junit-output.xml"
}
});
};
및 예외 가지고 :
여기
이 jshint의 결과를 -junit-reporter installation :
및 관련 소프트웨어 버전 : npm : 3.10.8 툴툴-CLI V1.2.0 꿀꿀 1.0.1 nodeJS : v0.12.7 은 정말 어떤 조언을
확인 테스트 감사 :) –