From 59aed7d2e2e882d8052e8f64edff26e8957d469f Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Thu, 4 May 2017 21:18:37 +0100 Subject: [PATCH] build: Update eslint to 0.4.0 and make a pass Change-Id: I580e7a2ed7276dc3b9546b497ecf2f8f4efe1aa6 --- package.json | 2 +- resources/ext.CodeMirror.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 629b866a..cbdba547 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "test": "grunt test" }, "devDependencies": { - "eslint-config-wikimedia": "0.3.0", + "eslint-config-wikimedia": "0.4.0", "grunt": "1.0.1", "grunt-banana-checker": "0.5.0", "grunt-eslint": "19.0.0", diff --git a/resources/ext.CodeMirror.js b/resources/ext.CodeMirror.js index a47378a7..ed1ae7d3 100644 --- a/resources/ext.CodeMirror.js +++ b/resources/ext.CodeMirror.js @@ -355,7 +355,7 @@ return; } - mw.loader.using( config.pluginModules, function() { + mw.loader.using( config.pluginModules, function () { var $codeMirror, $textbox1 = $( '#wpTextbox1' );