Refactor ESLint configuration and update code formatting: Standardize quotes in eslint.config.mjs, next.config.js, and various TypeScript files for consistency. Add Prettier as a dependency and include formatting scripts in package.json. Clean up unnecessary whitespace in multiple files to enhance code readability.

This commit is contained in:
Julien Froidefond
2025-12-10 11:30:00 +01:00
parent 66237458ec
commit d11059dac2
52 changed files with 9075 additions and 6140 deletions

View File

@@ -17,7 +17,10 @@ export async function POST(request: Request) {
const file = formData.get("file") as File;
if (!file) {
return NextResponse.json({ error: "Aucun fichier fourni" }, { status: 400 });
return NextResponse.json(
{ error: "Aucun fichier fourni" },
{ status: 400 }
);
}
// Vérifier le type de fichier
@@ -55,4 +58,3 @@ export async function POST(request: Request) {
);
}
}