diff --git a/plugins/babel-plugin-lexicon-leaf-imports/__tests__/lexiconLeafImports.test.js b/plugins/babel-plugin-lexicon-leaf-imports/__tests__/lexiconLeafImports.test.js index cc39701688..373f81847d 100644 --- a/plugins/babel-plugin-lexicon-leaf-imports/__tests__/lexiconLeafImports.test.js +++ b/plugins/babel-plugin-lexicon-leaf-imports/__tests__/lexiconLeafImports.test.js @@ -192,7 +192,10 @@ describe('cache invalidation across a lexicon regen', () => { 'lexicons/app/bsky/feed/like.ts', `export * as main from './like/main'\n`, ) - write('lexicons/app/bsky/feed/like/main.ts', `export const $type = 'test'\n`) + write( + 'lexicons/app/bsky/feed/like/main.ts', + `export const $type = 'test'\n`, + ) const bumped = new Date(Date.now() + 10_000) fs.utimesSync(path.join(lexRoot, 'index.ts'), bumped, bumped) diff --git a/plugins/babel-plugin-lexicon-leaf-imports/index.js b/plugins/babel-plugin-lexicon-leaf-imports/index.js index bd7e732231..727ea9659a 100644 --- a/plugins/babel-plugin-lexicon-leaf-imports/index.js +++ b/plugins/babel-plugin-lexicon-leaf-imports/index.js @@ -282,9 +282,9 @@ module.exports = function lexiconLeafImports(babel, options = {}) { if (!stmt.isImportDeclaration()) continue if (stmt.node.importKind === 'type') continue /* - * A specifier-less import exists only for module evaluation; there is - * nothing to rewrite, so leave it untouched. - */ + * A specifier-less import exists only for module evaluation; there is + * nothing to rewrite, so leave it untouched. + */ if (stmt.node.specifiers.length === 0) continue const dir = barrelDirFor(stmt.node.source.value, filename)