mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData
synced 2024-11-27 09:10:00 +00:00
build: Update eslint-config-wikimedia to 0.11.0
Change-Id: Ia109737bc7a0828dfdad14e4e2163d2add0c651c
This commit is contained in:
parent
5ef5287267
commit
6671a09959
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -6,3 +6,4 @@
|
|||
node_modules
|
||||
composer.lock
|
||||
vendor
|
||||
.eslintcache
|
||||
|
|
|
@ -17,7 +17,8 @@ module.exports = function ( grunt ) {
|
|||
grunt.initConfig( {
|
||||
eslint: {
|
||||
options: {
|
||||
reportUnusedDisableDirectives: true
|
||||
reportUnusedDisableDirectives: true,
|
||||
cache: true
|
||||
},
|
||||
all: [
|
||||
'modules/**/*.js',
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
/* global ve */
|
||||
/* eslint-disable jquery/no-global-selector */
|
||||
/* eslint-disable no-jquery/no-global-selector */
|
||||
|
||||
$( function () {
|
||||
'use strict';
|
||||
|
|
|
@ -553,7 +553,7 @@ mw.TemplateData.Dialog.prototype.onParamPropertyInputChange = function ( propert
|
|||
|
||||
// Validate
|
||||
// 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;
|
||||
|
||||
// Disable the 'done' button if there are any errors in the inputs
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"doc": "jsduck"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint-config-wikimedia": "0.10.1",
|
||||
"eslint-config-wikimedia": "0.11.0",
|
||||
"grunt": "1.0.3",
|
||||
"grunt-banana-checker": "0.6.0",
|
||||
"grunt-contrib-watch": "1.1.0",
|
||||
|
|
Loading…
Reference in a new issue