1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-25 02:42:10 +02:00

Update grunt and jshint to lint the gruntfile and test files

This commit is contained in:
Gary Katsevman 2013-02-08 17:02:39 -05:00
parent 0206ba9469
commit 51a22adc6a
2 changed files with 21 additions and 2 deletions

View File

@ -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 File

@ -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"
}