build: Update eslint-config-wikimedia to 0.11.0

Change-Id: I80e2707d9954f8549aa0241f4c7f64eb2644ec93
This commit is contained in:
Ed Sanders 2019-03-13 23:12:46 +00:00 committed by Stephen Niedzielski
parent 43b6b89ce6
commit 1627dadcab
4 changed files with 4 additions and 4 deletions

View file

@ -26,7 +26,7 @@
"babel-loader": "8.0.4", "babel-loader": "8.0.4",
"bundlesize": "0.17.0", "bundlesize": "0.17.0",
"clean-webpack-plugin": "1.0.0", "clean-webpack-plugin": "1.0.0",
"eslint-config-wikimedia": "0.10.0", "eslint-config-wikimedia": "0.11.0",
"grunt": "1.0.3", "grunt": "1.0.3",
"grunt-banana-checker": "0.6.0", "grunt-banana-checker": "0.6.0",
"grunt-contrib-watch": "1.1.0", "grunt-contrib-watch": "1.1.0",

Binary file not shown.

View file

@ -29,11 +29,11 @@ function createFooterLink() {
// From https://en.wikipedia.org/wiki/MediaWiki:Gadget-ReferenceTooltips.js, // From https://en.wikipedia.org/wiki/MediaWiki:Gadget-ReferenceTooltips.js,
// which was written by Yair rand <https://en.wikipedia.org/wiki/User:Yair_rand>. // which was written by Yair rand <https://en.wikipedia.org/wiki/User:Yair_rand>.
// eslint-disable-next-line jquery/no-global-selector // eslint-disable-next-line no-jquery/no-global-selector
let $footer = $( '#footer-places, #f-list' ); let $footer = $( '#footer-places, #f-list' );
if ( $footer.length === 0 ) { if ( $footer.length === 0 ) {
// eslint-disable-next-line jquery/no-global-selector // eslint-disable-next-line no-jquery/no-global-selector
$footer = $( '#footer li' ).parent(); $footer = $( '#footer li' ).parent();
} }

View file

@ -130,7 +130,7 @@ function getSelectedSetting( $el ) {
* @return {void} * @return {void}
*/ */
function toggleHelp( $el, visible ) { function toggleHelp( $el, visible ) {
// eslint-disable-next-line jquery/no-global-selector // eslint-disable-next-line no-jquery/no-global-selector
const $dialog = $( '#mwe-popups-settings' ), const $dialog = $( '#mwe-popups-settings' ),
formSelectors = 'main, .save, .close', formSelectors = 'main, .save, .close',
helpSelectors = '.mwe-popups-settings-help, .okay'; helpSelectors = '.mwe-popups-settings-help, .okay';