diff options
-rw-r--r-- | .jshintrc | 1 | ||||
-rw-r--r-- | Gruntfile.js | 12 |
2 files changed, 11 insertions, 2 deletions
@@ -6,7 +6,6 @@ "expr": true, "immed": true, "noarg": true, - "onevar": true, "quotmark": "double", "smarttabs": true, "trailing": true, diff --git a/Gruntfile.js b/Gruntfile.js index c4acdb7fc..7ccb800b0 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -201,6 +201,15 @@ grunt.initConfig({ requireSpacesInsideParentheses: null }, src: [ "Gruntfile.js", "build/tasks/*.js" ] + }, + demos: { + options: { + + // While the style guide removed onevar upgrading jscs to allow it causes too many + // errors right now + disallowMultipleVarDecl: null + }, + src: "demos/**/*.js" } }, uglify: minify, @@ -249,7 +258,8 @@ grunt.initConfig({ "Gruntfile.js", "build/**/*.js", "tests/unit/**/*.js", - "tests/lib/**/*.js" + "tests/lib/**/*.js", + "demos/**/*.js" ] }, csslint: { |