refactor(lint): enable map spread rule

This commit is contained in:
Peter Steinberger
2026-04-18 19:53:02 +01:00
parent 0c245c35c5
commit 4fa961d4f1
73 changed files with 352 additions and 344 deletions

View File

@@ -93,5 +93,7 @@ export function buildMistralModelDefinition(): ModelDefinitionConfig {
}
export function buildMistralCatalogModels(): ModelDefinitionConfig[] {
return MISTRAL_MODEL_CATALOG.map((model) => ({ ...model, input: [...model.input] }));
return MISTRAL_MODEL_CATALOG.map((model) =>
Object.assign({}, model, { input: [...model.input] }),
);
}