src/app/child-dev-project/schools/demo-school-generator.service.ts
Function generateEntities
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
generateEntities(): School[] {
const data = [];
for (let i = 1; i <= this.config.count; i++) {
const school = new School(String(i));