Skip to content

Commit

Permalink
fix: lint issues in index generated file
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnaceMaes committed Apr 27, 2024
1 parent 0028b90 commit f42b193
Show file tree
Hide file tree
Showing 2 changed files with 3,047 additions and 3,048 deletions.
8 changes: 4 additions & 4 deletions bin/assemble.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ function generateExports(mappings: Record<string, Record<string, string>>) {
const imports = Object.entries(mappings).map(([name]) => {
const pascalName = pascalize(name);

return `import Ph${pascalName} from "./components/ph-${name}.gts";`;
return `import Ph${pascalName} from './components/ph-${name}.gts';`;
});

const exports: string[] = [];
Expand All @@ -212,9 +212,9 @@ function generateExports(mappings: Record<string, Record<string, string>>) {
${imports.join("\n")}
export {
${exports.join(",\n\t")}
}
`;
${exports.join(",\n ")},
};
`;

// .reduce(
// (acc, cur) => acc + cur,
Expand Down
Loading

0 comments on commit f42b193

Please sign in to comment.