diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2021-06-07 00:58:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-07 00:58:12 +0200 |
commit | 70dae67b73dfea9126f126f516fe8286f1e73417 (patch) | |
tree | e61eafab41ee74330fecf1da2ce125050cfac49b /tests/lib/bootstrap.js | |
parent | a12c98574d07f002fd59d166f9fc1fd391581b91 (diff) | |
download | jquery-ui-70dae67b73dfea9126f126f516fe8286f1e73417.tar.gz jquery-ui-70dae67b73dfea9126f126f516fe8286f1e73417.zip |
Build: Migrate from JSHint & JSCS to ESLint
Fixes #15393
Closes gh-1958
Diffstat (limited to 'tests/lib/bootstrap.js')
-rw-r--r-- | tests/lib/bootstrap.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/bootstrap.js b/tests/lib/bootstrap.js index 5dcc2702e..fff019332 100644 --- a/tests/lib/bootstrap.js +++ b/tests/lib/bootstrap.js @@ -1,4 +1,5 @@ ( function() { +"use strict"; var DEFAULT_JQUERY_VERSION = "1.12.4"; @@ -9,7 +10,6 @@ requirejs.config( { "jquery": jqueryUrl(), "jquery-migrate": migrateUrl(), "jquery-simulate": "../../../external/jquery-simulate/jquery.simulate", - "jshint": "../../../external/jshint/jshint", "lib": "../../lib", "phantom-bridge": "../../../node_modules/grunt-contrib-qunit/phantomjs/bridge", "qunit-assert-classes": "../../../external/qunit-assert-classes/qunit-assert-classes", @@ -128,7 +128,7 @@ function migrateUrl() { url = "../../../external/jquery-migrate-1.4.1/jquery-migrate"; } else if ( jqueryVersion === "custom" ) { if ( parseUrl().migrate ) { - throw new Error ( "Migrate not currently supported for custom build" ); + throw new Error( "Migrate not currently supported for custom build" ); } } else { throw new Error( "No migrate version known for jQuery " + jqueryVersion ); |