Commit b52f09ac authored by Nick Schonning's avatar Nick Schonning

Fix JSCS task

- Remove reporter output, it was useful for triaging issues but no
longer required
- Add JSCS call to the default build chain
parent 1513877c
......@@ -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"]);
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment