build: Update eslint-config-wikimedia to 0.22.1

Change-Id: I02692eeabb23c5b99997faa7a17d42f019148ed1
This commit is contained in:
Ed Sanders
2022-03-03 23:03:25 +00:00
committed by jenkins-bot
parent 03cf7863ec
commit 02e17c5242
12 changed files with 2201 additions and 1840 deletions

View File

@@ -119,6 +119,8 @@
/**
* Loads the webfonts module sets the `webfonts` property when its safe to do so
*
* @return {jQuery.Promise}
*/
setupWebFonts: function () {
var d = $.Deferred();
@@ -133,7 +135,7 @@
d.resolve();
}.bind( this ), 1 );
}.bind( this ) );
return d;
return d.promise();
},
/**
* Render the module into a given target