e466a60a by Adam Heath

Add support for jscs style checker.

1 parent 567ac015
......@@ -31,6 +31,11 @@ module.exports = function(grunt) {
browserOptions: {
},
};
config.jscs = {
options: {
validateIndentation: 4,
},
};
var montyPython = require('./grunt-monty-python')(grunt);
montyPython.createConfig(config);
......
......@@ -265,6 +265,12 @@ module.exports = function (grunt) {
null,
null
);
createJschecker(
'jscs',
null,
null,
null
);
if (mpConfig.csslint) {
initConfig.csslint = {
};
......
......@@ -26,6 +26,7 @@
"grunt-contrib-imagemin": "~0",
"grunt-contrib-requirejs": "~0",
"grunt-contrib-uglify": "~0",
"grunt-jscs": "",
"grunt-rev": "~0",
"grunt-svgmin": "~0",
"grunt-usemin": "~2",
......