diff --git a/src/print/index.ts b/src/print/index.ts index 01c6b9da..a19f114a 100644 --- a/src/print/index.ts +++ b/src/print/index.ts @@ -37,8 +37,8 @@ export const printer: Printer = { if ( node?.type === 'ExportDefaultDeclaration' && (node.declaration.extra?.['isGlimmerTemplate'] || - (node.declaration.type === 'TSAsExpression' && - node.declaration.expression.extra?.['isGlimmerTemplate'])) + (node.declaration.type === 'TSAsExpression' && + node.declaration.expression.extra?.['isGlimmerTemplate'])) ) { if (hasPrettierIgnore) { return printRawText(path, options); diff --git a/tests/helpers/ambiguous.ts b/tests/helpers/ambiguous.ts index 10e0d1a5..2fdf60b3 100644 --- a/tests/helpers/ambiguous.ts +++ b/tests/helpers/ambiguous.ts @@ -96,7 +96,9 @@ async function behavesLikeFormattedAmbiguousCase( } catch (error: unknown) { // Some of the ambiguous cases are Syntax Errors when parsed const isSyntaxError = - error instanceof SyntaxError || String(error).startsWith('SyntaxError') || String(error).startsWith('Error: Parse Error'); + error instanceof SyntaxError || + String(error).startsWith('SyntaxError') || + String(error).startsWith('Error: Parse Error'); if (!isSyntaxError) { throw error; } diff --git a/vite.config.ts b/vite.config.ts index 97284e77..0f170ebc 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -5,7 +5,7 @@ import { defineConfig } from 'vite'; export default defineConfig({ build: { rollupOptions: { - external: ['content-tag'] + external: ['content-tag'], }, lib: { entry: 'src/main.ts',