Merge pull request #22615 from Chocobo1/webui_eslint

* WebUI: disallow unnecessary semicolons
* WebUI: ensure consistent shorthand syntax
* WebUI: disallow async functions which have no await expression
* WebUI: remove unused variable
This commit is contained in:
Chocobo1
2025-04-28 20:20:57 +08:00
committed by GitHub
14 changed files with 31 additions and 29 deletions

View File

@@ -603,7 +603,7 @@ window.qBittorrent.Search ??= (() => {
option.value = category.id;
option.textContent = category.name;
categoryOptions.push(option);
};
}
// first category is "All Categories"
if (categoryOptions.length > 1) {