Skip to content

Commit

Permalink
Build: Add demos to jscs and jshint
Browse files Browse the repository at this point in the history
  • Loading branch information
arschmitz committed Jul 21, 2015
1 parent 21acf69 commit 919828d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
1 change: 0 additions & 1 deletion .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"expr": true,
"immed": true,
"noarg": true,
"onevar": true,
"quotmark": "double",
"smarttabs": true,
"trailing": true,
Expand Down
12 changes: 11 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -249,7 +258,8 @@ grunt.initConfig({
"Gruntfile.js",
"build/**/*.js",
"tests/unit/**/*.js",
"tests/lib/**/*.js"
"tests/lib/**/*.js",
"demos/**/*.js"
]
},
csslint: {
Expand Down

0 comments on commit 919828d

Please sign in to comment.