Chore: enable brace-style eslint check (#5159)

* eslint: enable brace-style check

* Fix jsdoc and color

* fix: correct CSS color syntax in CreateZenSliders function
This commit is contained in:
Cohee
2026-02-15 01:46:32 +02:00
committed by GitHub
parent 357da3219b
commit 4d1619ba47
62 changed files with 344 additions and 676 deletions
+3 -6
View File
@@ -278,12 +278,10 @@ async function discoverExtensions() {
if (response.ok) {
const extensions = await response.json();
return extensions;
}
else {
} else {
return [];
}
}
catch (err) {
} catch (err) {
console.error(err);
return [];
}
@@ -627,8 +625,7 @@ async function connectToApi(baseUrl) {
}
updateStatus(getExtensionsResult.ok);
}
catch {
} catch {
updateStatus(false);
}
}