build: Update eslint-config-wikimedia to 0.11.0

Change-Id: Ia109737bc7a0828dfdad14e4e2163d2add0c651c
This commit is contained in:
Ed Sanders 2019-03-13 23:16:58 +00:00 committed by James D. Forrester
parent 5ef5287267
commit 6671a09959
5 changed files with 6 additions and 4 deletions

1
.gitignore vendored
View file

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

View file

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

View file

@ -6,7 +6,7 @@
*/ */
/* global ve */ /* global ve */
/* eslint-disable jquery/no-global-selector */ /* eslint-disable no-jquery/no-global-selector */
$( function () { $( function () {
'use strict'; 'use strict';

View file

@ -553,7 +553,7 @@ mw.TemplateData.Dialog.prototype.onParamPropertyInputChange = function ( propert
// Validate // Validate
// FIXME: Don't read model information from the DOM // FIXME: Don't read model information from the DOM
// eslint-disable-next-line jquery/no-global-selector // eslint-disable-next-line no-jquery/no-global-selector
anyInputError = !!$( '.tdg-templateDataDialog-paramInput.tdg-editscreen-input-error' ).length; anyInputError = !!$( '.tdg-templateDataDialog-paramInput.tdg-editscreen-input-error' ).length;
// Disable the 'done' button if there are any errors in the inputs // Disable the 'done' button if there are any errors in the inputs

View file

@ -5,7 +5,7 @@
"doc": "jsduck" "doc": "jsduck"
}, },
"devDependencies": { "devDependencies": {
"eslint-config-wikimedia": "0.10.1", "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",