build: Update eslint-config-wikimedia to 0.11.0
Change-Id: I408ff717768a00de74868b52d390dcc4b3269bcd
This commit is contained in:
parent
6a9a3764a5
commit
244bc6b050
6 changed files with 10 additions and 5 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -41,3 +41,4 @@ Thumbs.db
|
|||
/.htaccess
|
||||
/.htpasswd
|
||||
tests/phan/issues
|
||||
.eslintcache
|
||||
|
|
|
@ -9,6 +9,10 @@ module.exports = function ( grunt ) {
|
|||
|
||||
grunt.initConfig( {
|
||||
eslint: {
|
||||
options: {
|
||||
reportUnusedDisableDirectives: true,
|
||||
cache: true
|
||||
},
|
||||
all: [
|
||||
'*.js',
|
||||
'**/*.js',
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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' ),
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* eslint-disable jquery/no-global-selector */
|
||||
/* eslint-disable no-jquery/no-global-selector */
|
||||
$( function () {
|
||||
var mobileCutoffWidth = 550,
|
||||
ULSTrigger = $( '#pt-uls' ),
|
||||
|
|
|
@ -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' ) );
|
||||
|
|
Loading…
Reference in a new issue