From b52f09ac9a3f24c8684a576288a0a22a436896d4 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Sat, 25 Jan 2014 13:15:10 -0500 Subject: [PATCH] Fix JSCS task - Remove reporter output, it was useful for triaging issues but no longer required - Add JSCS call to the default build chain --- Gruntfile.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 0654d4f..9a0a046 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -72,9 +72,7 @@ module.exports = function(grunt) { "checkRedundantParams": true, "requireParamTypes": true }, - "validateQuoteMarks": "\"", - reporter: "checkstyle", - reporterOutput: "jscs.xml" + "validateQuoteMarks": "\"" }, flot: { src: "<%= jshint.flot.src %>" @@ -90,6 +88,6 @@ module.exports = function(grunt) { grunt.loadNpmTasks("grunt-jscs-checker"); // Default task. - grunt.registerTask("default", ["jshint", "uglify"]); + grunt.registerTask("default", ["jscs", "jshint", "uglify"]); };