Build: Add demos to jscs and jshint

This commit is contained in:
Alexander Schmitz 2015-07-02 09:55:12 -04:00
parent 21acf69770
commit 919828dfbe
2 changed files with 11 additions and 2 deletions

View File

@ -6,7 +6,6 @@
"expr": true,
"immed": true,
"noarg": true,
"onevar": true,
"quotmark": "double",
"smarttabs": true,
"trailing": true,

View File

@ -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: {