Permalink
Browse files

Build: Add demos to jscs and jshint

  • Loading branch information...
1 parent 21acf69 commit 919828dfbe8027f96bab6d3fcd0d3bd0169d3aa1 @arschmitz arschmitz committed Jul 2, 2015
Showing with 11 additions and 2 deletions.
  1. +0 −1 .jshintrc
  2. +11 −1 Gruntfile.js
View
@@ -6,7 +6,6 @@
"expr": true,
"immed": true,
"noarg": true,
- "onevar": true,
"quotmark": "double",
"smarttabs": true,
"trailing": true,
View
@@ -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: {

0 comments on commit 919828d

Please sign in to comment.