style: lint op backend

This commit is contained in:
laurejablonski 2025-04-05 19:21:01 +02:00
parent 8649725364
commit 438238f2bf
4 changed files with 11 additions and 9 deletions

View file

@ -1,6 +1,5 @@
import { EntityManager } from '@mikro-orm/core';
import { Student } from '../../../src/entities/users/student.entity';
import { fixupRule } from '@eslint/compat';
// 🔓 Ruwe testdata array — herbruikbaar in assertions
export const TEST_STUDENTS = [
@ -12,7 +11,7 @@ export const TEST_STUDENTS = [
{ username: 'TheDoors', firstName: 'Jim', lastName: 'Morisson' },
// ⚠️ Deze mag niet gebruikt worden in elke test!
{ username: 'Nirvana', firstName: 'Kurt', lastName: 'Cobain' },
// makes sure when logged in as leerling1, there exists a corresponding user
// Makes sure when logged in as leerling1, there exists a corresponding user
{ username: 'testleerling1', firstName: 'Gerald', lastName: 'Schmittinger'},
];

View file

@ -27,7 +27,7 @@ export function makeTestTeachers(em: EntityManager): Teacher[] {
lastName: 'Cappelle',
});
// makes sure when logged in as testleerkracht1, there exists a corresponding user
// Makes sure when logged in as testleerkracht1, there exists a corresponding user
const teacher05 = em.create(Teacher, {
username: 'testleerkracht1',
firstName: 'Bob',