build: Upgrade eslint-config-wikimedia from 0.10.1 to 0.11.0

Change-Id: I1e6c500b8a79f8d01b3050dabdece36e77d17706
This commit is contained in:
James D. Forrester 2019-04-03 15:54:28 -07:00
parent a600a37b4e
commit 9ef3132dce
5 changed files with 7 additions and 4 deletions

2
.gitignore vendored
View file

@ -6,3 +6,5 @@
node_modules/
vendor/
composer.lock
.eslintcache

View file

@ -1,4 +1,4 @@
/* eslint-disable jquery/no-global-selector */
/* eslint-disable no-jquery/no-global-selector */
$( document ).on( 'click', '.fancycaptcha-reload', function () {
var $this = $( this ),
$root = $this.closest( '.fancycaptcha-captcha-container' ),

View file

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

View file

@ -39,7 +39,7 @@ mw.libs.ve.targetLoader.addPlugin( function () {
// Register extra fields
target.saveFields.wpCaptchaWord = function () {
// eslint-disable-next-line jquery/no-global-selector
// eslint-disable-next-line no-jquery/no-global-selector
return $( '#g-recaptcha-response' ).val();
};

View file

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