Fix JSCS task

- Remove reporter output, it was useful for triaging issues but no
longer required
- Add JSCS call to the default build chain
pull/1/head
Nick Schonning 12 years ago
parent 1513877c3c
commit b52f09ac9a

@ -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"]);
};

Loading…
Cancel
Save