From 628c6954d3e3e8ec2bdbaffff637b4f1dad942be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Thu, 25 May 2023 15:16:31 +0200 Subject: [PATCH] comment --- src/Umbraco.Web.UI.Client/eslint-local-rules.cjs | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/eslint-local-rules.cjs b/src/Umbraco.Web.UI.Client/eslint-local-rules.cjs index 4ec5057784..3d80fcf3da 100644 --- a/src/Umbraco.Web.UI.Client/eslint-local-rules.cjs +++ b/src/Umbraco.Web.UI.Client/eslint-local-rules.cjs @@ -294,13 +294,9 @@ module.exports = { }); } }, - /*, + /* + // TODO: This rule does not work, make it work. CallExpression: (node) => { - // we only care about the callees that have a name (see below) - if (node.callee.type !== AST_NODE_TYPES.Identifier) { - return; - } - if (node.callee.name === 'import') { const [source] = node.arguments; const fixedSource = correctImport(source); @@ -312,7 +308,8 @@ module.exports = { }); } } - },*/ + }, + */ }; }, },