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

+2 -6
View File
@@ -25,9 +25,7 @@ export function registerConfigureCommand(program: Command) {
try {
const sections: string[] = Array.isArray(opts.section)
? opts.section
.map((value: unknown) =>
typeof value === "string" ? value.trim() : "",
)
.map((value: unknown) => (typeof value === "string" ? value.trim() : ""))
.filter(Boolean)
: [];
if (sections.length === 0) {
@@ -35,9 +33,7 @@ export function registerConfigureCommand(program: Command) {
return;
}
const invalid = sections.filter(
(s) => !CONFIGURE_WIZARD_SECTIONS.includes(s as never),
);
const invalid = sections.filter((s) => !CONFIGURE_WIZARD_SECTIONS.includes(s as never));
if (invalid.length > 0) {
defaultRuntime.error(
`Invalid --section: ${invalid.join(", ")}. Expected one of: ${CONFIGURE_WIZARD_SECTIONS.join(", ")}.`,