diff options
author | Rick Waldron <waldron.rick@gmail.com> | 2012-06-21 15:30:24 -0400 |
---|---|---|
committer | Rick Waldron <waldron.rick@gmail.com> | 2012-06-21 15:30:24 -0400 |
commit | 7ff3da186cf9bb5ea23f5a0b9543302ef0f861f7 (patch) | |
tree | 41ebf66ab6fd5fdd4eaef11f022c6c95727d57f4 /grunt.js | |
parent | 66501469c0c21107837375538a13273e32fdc7cf (diff) | |
download | jquery-7ff3da186cf9bb5ea23f5a0b9543302ef0f861f7.tar.gz jquery-7ff3da186cf9bb5ea23f5a0b9543302ef0f861f7.zip |
Unit tests are linted and passing.
Diffstat (limited to 'grunt.js')
-rw-r--r-- | grunt.js | 42 |
1 files changed, 35 insertions, 7 deletions
@@ -79,7 +79,7 @@ module.exports = function( grunt ) { "dist/jquery.min.js": [ "<banner>", "dist/jquery.js" ] }, lint: { - files: [ "grunt.js", "dist/jquery.js" ] + files: [ "test/unit/**/*.js", "grunt.js", "dist/jquery.js" ] }, qunit: { files: "test/index.html" @@ -99,14 +99,12 @@ module.exports = function( grunt ) { trailing: true, undef: true, smarttabs: true, - predef: [ - "define", - "DOMParser", - "__dirname" - ], maxerr: 100 }, globals: { + define: true, + DOMParser: true, + __dirname: true, jQuery: true, global: true, module: true, @@ -114,7 +112,37 @@ module.exports = function( grunt ) { require: true, file: true, log: true, - console: true + console: true, + QUnit: true, + ok: true, + equal: true, + test: true, + asyncTest: true, + notEqual: true, + deepEqual: true, + strictEqual: true, + notStrictEqual: true, + start: true, + stop: true, + expect: true, + raises: true, + testIframe: true, + testIframeWithCallback: true, + createDashboardXML: true, + moduleTeardown: true, + testFoo: true, + foobar: true, + url: true, + t: true, + q: true, + amdDefined: true, + fireNative: true, + hasPHP: true, + isLocal: true, + originaljQuery: true, + "$": true, + "original$": true + } }, uglify: {} |