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) { ...@@ -72,9 +72,7 @@ module.exports = function(grunt) {
"checkRedundantParams": true, "checkRedundantParams": true,
"requireParamTypes": true "requireParamTypes": true
}, },
"validateQuoteMarks": "\"", "validateQuoteMarks": "\""
reporter: "checkstyle",
reporterOutput: "jscs.xml"
}, },
flot: { flot: {
src: "<%= jshint.flot.src %>" src: "<%= jshint.flot.src %>"
...@@ -90,6 +88,6 @@ module.exports = function(grunt) { ...@@ -90,6 +88,6 @@ module.exports = function(grunt) {
grunt.loadNpmTasks("grunt-jscs-checker"); grunt.loadNpmTasks("grunt-jscs-checker");
// Default task. // 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