aboutsummaryrefslogtreecommitdiffstats
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-07-02 09:55:12 -0400
committerAlexander Schmitz <arschmitz@gmail.com>2015-07-21 11:00:40 -0400
commit919828dfbe8027f96bab6d3fcd0d3bd0169d3aa1 (patch)
tree55985456f657505d10b105f50943b82e1c002b92 /Gruntfile.js
parent21acf69770db474b49b7878c5c9578884c276404 (diff)
downloadjquery-ui-919828dfbe8027f96bab6d3fcd0d3bd0169d3aa1.tar.gz
jquery-ui-919828dfbe8027f96bab6d3fcd0d3bd0169d3aa1.zip
Build: Add demos to jscs and jshint
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js12
1 files changed, 11 insertions, 1 deletions
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: {