Phase 1: Add ESLint/Prettier config + baseline auto-fixes

This commit is contained in:
Krystie
2026-03-22 11:00:25 +01:00
parent 41a0cdee7e
commit e2c67a8fe8
90 changed files with 4008 additions and 3066 deletions

View File

@@ -72,8 +72,8 @@ describe('Notification Routes', () => {
.send({
events: {
containerDown: true,
containerUp: false
}
containerUp: false,
},
});
expect(res.statusCode).toBe(200);
@@ -87,9 +87,9 @@ describe('Notification Routes', () => {
providers: {
discord: {
enabled: true,
webhookUrl: 'not-a-valid-url'
}
}
webhookUrl: 'not-a-valid-url',
},
},
});
expect(res.statusCode).toBe(400);
@@ -102,9 +102,9 @@ describe('Notification Routes', () => {
providers: {
ntfy: {
enabled: true,
topic: 'invalid topic with spaces!!!'
}
}
topic: 'invalid topic with spaces!!!',
},
},
});
expect(res.statusCode).toBe(400);