Remove unnecessary lint suppressions
This commit is contained in:
@@ -193,7 +193,6 @@ function summarizeLayout$(l$: Observable<Layout>): Observable<LayoutSummary> {
|
|||||||
l.spotlight?.media$ ?? constant(undefined),
|
l.spotlight?.media$ ?? constant(undefined),
|
||||||
...l.grid.map((vm) => vm.media$),
|
...l.grid.map((vm) => vm.media$),
|
||||||
],
|
],
|
||||||
// eslint-disable-next-line rxjs/finnish -- false positive
|
|
||||||
(spotlight, ...grid) => ({
|
(spotlight, ...grid) => ({
|
||||||
type: l.type,
|
type: l.type,
|
||||||
spotlight: spotlight?.map((vm) => vm.id),
|
spotlight: spotlight?.map((vm) => vm.id),
|
||||||
@@ -213,7 +212,6 @@ function summarizeLayout$(l$: Observable<Layout>): Observable<LayoutSummary> {
|
|||||||
case "spotlight-expanded":
|
case "spotlight-expanded":
|
||||||
return combineLatest(
|
return combineLatest(
|
||||||
[l.spotlight.media$, l.pip?.media$ ?? constant(undefined)],
|
[l.spotlight.media$, l.pip?.media$ ?? constant(undefined)],
|
||||||
// eslint-disable-next-line rxjs/finnish -- false positive
|
|
||||||
(spotlight, pip) => ({
|
(spotlight, pip) => ({
|
||||||
type: l.type,
|
type: l.type,
|
||||||
spotlight: spotlight.map((vm) => vm.id),
|
spotlight: spotlight.map((vm) => vm.id),
|
||||||
|
|||||||
Reference in New Issue
Block a user