mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData
synced 2024-09-23 10:21:45 +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
|
node_modules
|
||||||
composer.lock
|
composer.lock
|
||||||
vendor
|
vendor
|
||||||
|
.eslintcache
|
||||||
|
|
|
@ -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',
|
||||||
|
|
|
@ -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';
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue