chore: Enforce a few house rules via eslint (#2539)

This commit is contained in:
Dermot Duffy authored and dermotduffy committed 2026-06-30 17:45:13 -07:00
1 parent 5572ec728e
commit 921d45e577
100 files changed
+479 -295

No files matched your search

@@ -451,9 +451,9 @@ describe('MediaPlayerManager', () => {
const api = createCardAPI();
vi.mocked(api.getCameraManager).mockReturnValue(createCameraManager());
// Bypass schema validation — the code has a runtime guard (TypeScript
// narrowing) for the case where dashboard config is present but
// dashboard_path / view_path are missing.
// Bypass schema validation -- the code has a runtime guard
// (TypeScript narrowing) for the case where dashboard config is
// present but dashboard_path / view_path are missing.
const configWithNoDashboardPaths = createCameraConfig({
camera_entity: 'camera.foo',
});