From 3e06a1058816d2cbd085abbdc82ddde7068f2db1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=83=D1=80=20=D0=A3=D0=B4=D0=B0=D0=BB?= =?UTF-8?q?=D0=BE=D0=B2?= Date: Sat, 2 May 2020 21:14:07 +0300 Subject: [PATCH] [Fix] Fixing typo in IDE section --- src/rules/no-unused-modules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rules/no-unused-modules.js b/src/rules/no-unused-modules.js index 60416d21cd..74611e6cc5 100644 --- a/src/rules/no-unused-modules.js +++ b/src/rules/no-unused-modules.js @@ -657,7 +657,7 @@ module.exports = { resolvedPath = resolve(astNode.source.raw.replace(/('|")/g, ''), context) astNode.specifiers.forEach(specifier => { let name - if (specifier.exported.name === DEFAULT) { + if (specifier.local.name === DEFAULT) { name = IMPORT_DEFAULT_SPECIFIER } else { name = specifier.local.name