From 5d5ff0e82898ce03316d8fd615ec42db294961f3 Mon Sep 17 00:00:00 2001 From: Aaron Moat <2937187+AaronMoat@users.noreply.github.com> Date: Sun, 29 Sep 2024 13:58:32 +1000 Subject: [PATCH] Run prettier --- src/rules/no-duplicates.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/rules/no-duplicates.ts b/src/rules/no-duplicates.ts index 48969e5fd..334b2071b 100644 --- a/src/rules/no-duplicates.ts +++ b/src/rules/no-duplicates.ts @@ -464,12 +464,15 @@ export = createRule<[Options?], MessageId>({ } if (n.importKind === 'type') { - if (n.specifiers.length > 0 && n.specifiers[0].type === 'ImportDefaultSpecifier') { - return map.defaultTypesImported; + if ( + n.specifiers.length > 0 && + n.specifiers[0].type === 'ImportDefaultSpecifier' + ) { + return map.defaultTypesImported } if (!preferInline) { - return map.namedTypesImported; + return map.namedTypesImported } }