chore: update lint scripts and improve formatting consistency

- Added `lint:fix` scripts for backend, frontend, and documentation.
- Enabled `biome check --write` for unsafe fixes in backend scripts.
- Fixed imports, formatting, and logging for improved code clarity.
- Adjusted service unit tests for better readability and maintainability.
This commit is contained in:
Mathis HERRIOT
2026-01-21 11:38:25 +01:00
parent a90aba2748
commit 951b38db67
10 changed files with 62 additions and 22 deletions

View File

@@ -18,7 +18,11 @@ export class RbacService implements OnApplicationBootstrap {
if (count === 0) {
this.logger.log("No roles found, seeding default roles...");
const defaultRoles = [
{ name: "Administrator", slug: "admin", description: "Full system access" },
{
name: "Administrator",
slug: "admin",
description: "Full system access",
},
{
name: "Moderator",
slug: "moderator",