Switch to double quotes and reformat codebase with Biome

This commit is contained in:
Mohamed Boudra
2026-03-21 20:22:15 +07:00
parent ab40786882
commit f6579dbeb4
805 changed files with 38132 additions and 40175 deletions
+5 -3
View File
@@ -25,8 +25,7 @@ function toParentNodes(parent: unknown): MarkdownNode[] {
function getNearestListParent(parent: unknown): MarkdownNode | undefined {
return toParentNodes(parent).find(
(ancestor) =>
ancestor?.type === "ordered_list" || ancestor?.type === "bullet_list"
(ancestor) => ancestor?.type === "ordered_list" || ancestor?.type === "bullet_list",
);
}
@@ -61,7 +60,10 @@ function parseOrderedListStart(node: MarkdownNode): number {
return 1;
}
export function getMarkdownListMarker(node: MarkdownNode, parent: unknown): {
export function getMarkdownListMarker(
node: MarkdownNode,
parent: unknown,
): {
isOrdered: boolean;
marker: string;
} {