Add and fix stylistic eslint rules (#23735)

* Fix stylistic eslint rules

* Fix eslint issues
This commit is contained in:
Wendelin
2025-01-14 21:00:14 +01:00
committed by GitHub
parent 69a93ddb6e
commit e703750136
582 changed files with 12485 additions and 13451 deletions

View File

@@ -176,7 +176,7 @@ export class HaFilterDevices extends LitElement {
}
this.value = value;
const results = await Promise.all(relatedPromises);
const items: Set<string> = new Set();
const items = new Set<string>();
for (const result of results) {
if (result[this.type!]) {
result[this.type!]!.forEach((item) => items.add(item));