Skip to content
Browse files

Update grunt and jshint to lint the gruntfile and test files

  • Loading branch information...
1 parent 0206ba9 commit 51a22adc6a445b78dd5cfa136bdaea77d2e3e174 @gkatsev gkatsev committed
Showing with 21 additions and 2 deletions.
  1. +20 −1 .jshintrc
  2. +1 −1 Gruntfile.js
View
21 .jshintrc
@@ -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"
]
}
View
2 Gruntfile.js
@@ -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"
}

0 comments on commit 51a22ad

Please sign in to comment.
Something went wrong with that request. Please try again.