Skip to main content

What it flags

onMounted registers a global listener, timer or observer with no unmount cleanup. An empty unmount callback leaves the resource running. Register the resource release with onUnmounted(), onBeforeUnmount(), or onScopeDispose().

Configuration

Set the rule to "off" in loadwise.config.json to drop its findings: