Skip to content

Commit b00eb91

Browse files
snewcomerljharb
andauthored
Update src/rules/no-duplicates.js
Co-authored-by: Jordan Harband <ljharb@gmail.com>
1 parent d2292bb commit b00eb91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rules/no-duplicates.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,12 @@ function checkInlineTypeImports(imported, context) {
7474
fix, // Attach the autofix (if any) to the first import.
7575
});
7676

77-
for (const node of rest) {
77+
rest.forEach((node) => {
7878
context.report({
7979
node: node.source,
8080
message,
8181
});
82-
}
82+
});
8383
}
8484
}
8585
}

0 commit comments

Comments
 (0)