Skip to content

Commit ed83da8

Browse files
fix: format series.ts to pass biome check
Remove extra blank lines and wrap long sort callback to satisfy biome line-width (100 chars) formatting rule. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 8ed671f commit ed83da8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/core/series.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,6 @@ function pearsonCorrFromArrays(
132132

133133
// ─── LSD radix sort buffers (module-level, grown lazily) ─────────────────────
134134

135-
136-
137135
// ─── SeriesOptions ────────────────────────────────────────────────────────────
138136

139137
/** Constructor options accepted by `Series`. */
@@ -776,7 +774,9 @@ export class Series<T extends Scalar = Scalar> {
776774
}
777775
}
778776
const cmp = ascending ? Series._svCmpAsc : Series._svCmpDesc;
779-
finIdx.sort((a, b) => cmp(vals[a] as number | string | boolean, vals[b] as number | string | boolean));
777+
finIdx.sort((a, b) =>
778+
cmp(vals[a] as number | string | boolean, vals[b] as number | string | boolean),
779+
);
780780
const perm = naPosition === "first" ? [...nanIdx, ...finIdx] : [...finIdx, ...nanIdx];
781781
return new Series<T>({
782782
data: perm.map((i) => vals[i] as T),

0 commit comments

Comments
 (0)