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:
parent
0206ba9469
commit
51a22adc6a
21
.jshintrc
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"
|
||||
]
|
||||
}
|
||||
|
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user