Skip to content

Commit

Permalink
Update grunt and jshint to lint the gruntfile and test files
Browse files Browse the repository at this point in the history
  • Loading branch information
gkatsev committed Feb 8, 2013
1 parent 0206ba9 commit 51a22ad
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
21 changes: 20 additions & 1 deletion .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,25 @@
"videojs",
"vjs",
"goog",
"console"
"console",

"require",

"PlayerTest",
"asyncTest",
"deepEqual",
"equal",
"expect",
"module",
"notDeepEqual",
"notEqual",
"notStrictEqual",
"ok",
"QUnit",
"raises",
"start",
"stop",
"strictEqual",
"test"
]
}
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = function(grunt) {
// npm install https://github.com/gruntjs/grunt-contrib-jshint/archive/7fd70e86c5a8d489095fa81589d95dccb8eb3a46.tar.gz
jshint: {
src: {
src: ["src/js/*.js"],
src: ["src/js/*.js", "Gruntfile.js", "test/unit/*.js"],
options: {
jshintrc: ".jshintrc"
}
Expand Down

0 comments on commit 51a22ad

Please sign in to comment.