chore(lint): enable stricter oxlint rules

This commit is contained in:
Peter Steinberger
2026-05-31 18:43:54 +01:00
parent cb569f6ad9
commit 304e2c83c0
615 changed files with 3603 additions and 3701 deletions
+3 -3
View File
@@ -69,12 +69,12 @@ vi.mock("../commands/configure.js", () => ({
],
configureCommand: programMocks.configureCommand,
configureCommandWithSections: programMocks.configureCommandWithSections,
configureCommandFromSectionsArg: (sections: unknown, runtime: unknown) => {
configureCommandFromSectionsArg: (sections: unknown, runtimeLocal: unknown) => {
const resolved = Array.isArray(sections) ? sections : [];
if (resolved.length > 0) {
return programMocks.configureCommandWithSections(resolved, runtime);
return programMocks.configureCommandWithSections(resolved, runtimeLocal);
}
return programMocks.configureCommand({}, runtime);
return programMocks.configureCommand({}, runtimeLocal);
},
}));
vi.mock("../commands/setup.js", () => ({ setupCommand: programMocks.setupCommand }));