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

Change-Id: I17a163c3dd6d708b05d41786dce3dc9881250969
This commit is contained in:
James D. Forrester 2019-04-03 16:06:08 -07:00
parent 5502e01c0b
commit da89d77278
4 changed files with 5 additions and 3 deletions

1
.gitignore vendored
View file

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

View file

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

View file

@ -1,6 +1,6 @@
$( function () { $( function () {
var location = mw.config.get( 'wgLinterErrorLocation' ), var location = mw.config.get( 'wgLinterErrorLocation' ),
// eslint-disable-next-line jquery/no-global-selector // eslint-disable-next-line no-jquery/no-global-selector
$textbox = $( '#wpTextbox1' ); $textbox = $( '#wpTextbox1' );
if ( location ) { if ( location ) {

View file

@ -4,7 +4,7 @@
"test": "grunt test" "test": "grunt test"
}, },
"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.7.0", "grunt-banana-checker": "0.7.0",
"grunt-eslint": "21.0.0", "grunt-eslint": "21.0.0",