Enable ESLint no-empty rule (#4342)

# Description of Changes
Enable ESLint [no-empty
rule](https://eslint.org/docs/latest/rules/no-empty)
This commit is contained in:
James Brunton
2025-09-04 15:59:31 +01:00
committed by GitHub
parent 295e682e03
commit 6d3b08d9b6
3 changed files with 9 additions and 8 deletions

View File

@@ -82,8 +82,8 @@ export function adjustFontSizeToFit(
return () => {
cancelAnimationFrame(raf);
try { ro.disconnect(); } catch {}
try { mo.disconnect(); } catch {}
try { ro.disconnect(); } catch { /* Ignore errors */ }
try { mo.disconnect(); } catch { /* Ignore errors */ }
};
}