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

This commit is contained in:
Dermot Duffy
2026-06-30 17:45:13 -07:00
committed by dermotduffy
parent 5572ec728e
commit 921d45e577
100 changed files with 479 additions and 295 deletions
+5 -5
View File
@@ -90,16 +90,16 @@ export class AdvancedCameraCardViews extends LitElement {
if (changedProps.has('viewManagerEpoch') || changedProps.has('config')) {
const view = this.viewManagerEpoch?.manager.getView();
if (view?.is('live') || this._shouldLivePreload()) {
import('./live/index.js');
void import('./live/index.js');
}
if (view?.isGalleryView()) {
import('./gallery/gallery.js');
void import('./gallery/gallery.js');
} else if (view?.isViewerView()) {
import('./viewer/index.js');
void import('./viewer/index.js');
} else if (view?.is('image')) {
import('./image.js');
void import('./image.js');
} else if (view?.is('timeline')) {
import('./timeline.js');
void import('./timeline.js');
}
}