Skip to content

Commit

Permalink
[Fix] Fixing typo in IDE section
Browse files Browse the repository at this point in the history
  • Loading branch information
darkartur committed May 2, 2020
1 parent 92caa35 commit 3e06a10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rules/no-unused-modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3e06a10

Please sign in to comment.