Skip to content

Commit

Permalink
[Refactor] no-extraneous-dependencies: moduleVisitor usage
Browse files Browse the repository at this point in the history
  • Loading branch information
jablko committed Sep 21, 2021
1 parent 3d0262d commit 5a078cf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/rules/no-extraneous-dependencies.js
Expand Up @@ -162,7 +162,6 @@ function reportIfMissing(context, deps, depsOptions, node, name) {
// Do not report when importing types
if (
node.importKind === 'type' ||
(node.parent && node.parent.importKind === 'type') ||
node.importKind === 'typeof'
) {
return;
Expand Down

0 comments on commit 5a078cf

Please sign in to comment.