From 603755f250f4f8da9324f699ba946c2cc67fe7c2 Mon Sep 17 00:00:00 2001 From: Christopher Allen Date: Mon, 12 Jul 2021 03:51:17 +0100 Subject: [PATCH] Suppress spurious eslint error eslint appears to be confused by the leading JSDoc comment on the continuation line and suggests it should be indented only 4 rather than 8 spaces. --- core/contextmenu_items.js | 1 + 1 file changed, 1 insertion(+) diff --git a/core/contextmenu_items.js b/core/contextmenu_items.js index a8e3a41e5..da417cac6 100644 --- a/core/contextmenu_items.js +++ b/core/contextmenu_items.js @@ -191,6 +191,7 @@ Blockly.ContextMenuItems.addDeletableBlocks_ = function(block, deleteList) { if (block.isDeletable()) { Array.prototype.push.apply(deleteList, block.getDescendants(false)); } else { + /* eslint-disable indent */ var children = /** @type {!Array} */ (block.getChildren(false)); for (var i = 0; i < children.length; i++) {