Skip to content

Commit 5a078cf

Browse files
committed
[Refactor] no-extraneous-dependencies: moduleVisitor usage
1 parent 3d0262d commit 5a078cf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: src/rules/no-extraneous-dependencies.js

-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ function reportIfMissing(context, deps, depsOptions, node, name) {
162162
// Do not report when importing types
163163
if (
164164
node.importKind === 'type' ||
165-
(node.parent && node.parent.importKind === 'type') ||
166165
node.importKind === 'typeof'
167166
) {
168167
return;

0 commit comments

Comments
 (0)