chore: migrate to oxlint and oxfmt

Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com>
This commit is contained in:
Peter SteinbergerandChristoph Nakazawa committed 2026-01-14 15:02:19 +00:00
1 parent 912ebffc63
commit c379191f80
1480 files changed
+28608 -43547

No files matched your search

+1 -6
View File
@@ -28,12 +28,7 @@ export function allocateCdpPort(
): number | null {
const start = range?.start ?? CDP_PORT_RANGE_START;
const end = range?.end ?? CDP_PORT_RANGE_END;
if (
!Number.isFinite(start) ||
!Number.isFinite(end) ||
start <= 0 ||
end <= 0
) {
if (!Number.isFinite(start) || !Number.isFinite(end) || start <= 0 || end <= 0) {
return null;
}
if (start > end) return null;