build: Update eslint-config-wikimedia to 0.11.0

Change-Id: I408ff717768a00de74868b52d390dcc4b3269bcd
This commit is contained in:
Ed Sanders 2019-03-13 22:57:00 +00:00
parent 6a9a3764a5
commit 244bc6b050
6 changed files with 10 additions and 5 deletions

1
.gitignore vendored
View file

@ -41,3 +41,4 @@ Thumbs.db
/.htaccess
/.htpasswd
tests/phan/issues
.eslintcache

View file

@ -9,6 +9,10 @@ module.exports = function ( grunt ) {
grunt.initConfig( {
eslint: {
options: {
reportUnusedDisableDirectives: true,
cache: true
},
all: [
'*.js',
'**/*.js',

View file

@ -4,7 +4,7 @@
"test": "grunt test"
},
"devDependencies": {
"eslint-config-wikimedia": "0.10.0",
"eslint-config-wikimedia": "0.11.0",
"grunt": "1.0.3",
"grunt-banana-checker": "0.7.0",
"grunt-eslint": "21.0.0",

View file

@ -1,4 +1,4 @@
/* eslint-disable jquery/no-global-selector */
/* eslint-disable no-jquery/no-global-selector */
$( function () {
var mobileCutoffWidth = 550,
notificationIcons = $( '#pt-notifications-alert, #pt-notifications-notice' ),

View file

@ -1,4 +1,4 @@
/* eslint-disable jquery/no-global-selector */
/* eslint-disable no-jquery/no-global-selector */
$( function () {
var mobileCutoffWidth = 550,
ULSTrigger = $( '#pt-uls' ),

View file

@ -1,4 +1,4 @@
/* eslint-disable jquery/no-global-selector */
/* eslint-disable no-jquery/no-global-selector */
$( function () {
var mobileCutoffWidth = 550,
// Track if DOM has been set up for mobile fanciness yet
@ -61,7 +61,7 @@ $( function () {
} );
} );
// eslint-disable-next-line jquery/no-each-util
// eslint-disable-next-line no-jquery/no-each-util
$.each( toggles, function ( toggle, target ) {
// Add close buttons
$( target ).append( $( '<div>' ).addClass( 'mobile-close-button' ) );