Skip to content

Commit b9d049e

Browse files
committed
chore: fix eslint
1 parent f3b4483 commit b9d049e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rules/no-wildcard-imports.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ module.exports = {
229229
message: `Wildcard imports from ${node.source.value} are not allowed. Import from an entrypoint instead`,
230230
*fix(fixer) {
231231
for (const [entrypoint, importSpecifiers] of changes) {
232-
const allTypeImports = importSpecifiers.every(([_, __, type]) => type === 'type')
232+
const allTypeImports = importSpecifiers.every(([, , type]) => type === 'type')
233233
const importStatement = allTypeImports ? 'import type' : 'import'
234234
const specifiers = importSpecifiers
235235
.map(([imported, local, type]) => {

0 commit comments

Comments
 (0)