Merge "build: Update devDependencies"

This commit is contained in:
jenkins-bot 2019-08-01 02:15:32 +00:00 committed by Gerrit Code Review
commit b351d1b5fc
6 changed files with 16 additions and 9 deletions

View file

@ -11,6 +11,7 @@
"rules": {
"max-len": "off",
"max-statements-per-line": "off",
"no-jquery/no-class-state": "off",
"no-jquery/no-noop": "off",
"no-jquery/no-now": "off",
"no-jquery/no-proxy": "off",

View file

@ -17,8 +17,8 @@ module.exports = function ( grunt ) {
cache: true
},
all: [
'**/*.js{,on}',
'!{vendor,node_modules}/**'
'**/*.{js,json}',
'!{vendor,node_modules,docs}/**'
]
},
stylelint: {

View file

@ -5,12 +5,12 @@
"doc": "jsduck"
},
"devDependencies": {
"eslint-config-wikimedia": "0.12.0",
"grunt": "1.0.3",
"grunt-banana-checker": "0.7.0",
"eslint-config-wikimedia": "0.13.1",
"grunt": "1.0.4",
"grunt-banana-checker": "0.7.1",
"grunt-eslint": "21.0.0",
"grunt-stylelint": "0.10.1",
"grunt-svgmin": "5.0.0",
"stylelint-config-wikimedia": "0.5.0"
"grunt-stylelint": "0.11.0",
"grunt-svgmin": "6.0.0",
"stylelint-config-wikimedia": "0.6.0"
}
}

View file

@ -362,6 +362,7 @@
$thumbCaption = $potentialCaptions.eq( 0 );
} else {
// Template:Multiple_image or some such; try to find closest caption to the image
// eslint-disable-next-line no-jquery/no-sizzle
$thumbCaption = $link.closest( ':has(> .thumbcaption)', $thumbContain )
.find( '> .thumbcaption' );
}

View file

@ -112,6 +112,8 @@
MPSP.freezeHeight = function () {
var scrollTop, scrollTopWhenOpen;
// TODO: Store visibility in model
// eslint-disable-next-line no-jquery/no-sizzle
if ( !this.$container.is( ':visible' ) ) {
return;
}
@ -124,6 +126,8 @@
};
MPSP.unfreezeHeight = function () {
// TODO: Store visibility in model
// eslint-disable-next-line no-jquery/no-sizzle
if ( !this.$container.is( ':visible' ) ) {
return;
}

View file

@ -4,6 +4,7 @@
"../../.eslintrc.json"
],
"rules": {
"no-jquery/no-global-selector": "off"
"no-jquery/no-global-selector": "off",
"no-jquery/no-sizzle": "off"
}
}