chore: migrate to oxlint and oxfmt

Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com>
This commit is contained in:
Peter Steinberger
2026-01-14 14:31:43 +00:00
parent 912ebffc63
commit c379191f80
1480 changed files with 28608 additions and 43547 deletions

View File

@@ -40,10 +40,7 @@ export function parseFenceSpans(buffer: string): FenceSpan[] {
marker,
indent,
};
} else if (
open.markerChar === markerChar &&
markerLen >= open.markerLen
) {
} else if (open.markerChar === markerChar && markerLen >= open.markerLen) {
const end = lineEnd;
spans.push({
start: open.start,
@@ -73,10 +70,7 @@ export function parseFenceSpans(buffer: string): FenceSpan[] {
return spans;
}
export function findFenceSpanAt(
spans: FenceSpan[],
index: number,
): FenceSpan | undefined {
export function findFenceSpanAt(spans: FenceSpan[], index: number): FenceSpan | undefined {
return spans.find((span) => index > span.start && index < span.end);
}