lint: fix most eslint/no-empty-function violations (#6457)

* lint: fix most eslint/no-empty-function violations

* Remove unnecessary closing brace in .oxlintrc.json
This commit is contained in:
Matiss Janis Aboltins
2025-12-20 21:38:05 +00:00
committed by GitHub
parent 3d7f0827ad
commit 146aeb1f5a
38 changed files with 148 additions and 81 deletions

View File

@@ -75,7 +75,10 @@ contextBridge.exposeInMainWorld('Actual', {
// No auto-updates in the desktop app
isUpdateReadyForDownload: () => false,
waitForUpdateReadyForDownload: () => new Promise<void>(() => {}),
waitForUpdateReadyForDownload: () =>
new Promise<void>(() => {
// This is used in browser environment; do nothing in electron
}),
getServerSocket: async () => {
return null;