> ## Documentation Index
> Fetch the complete documentation index at: https://loadwise.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# dom-listener-without-cleanup

> A window or document listener uses an inline function with no AbortSignal or once, so it can never be removed.

## What it flags

A window or document listener uses an inline function with no AbortSignal or once, so it can never be removed.

## Configuration

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

```json theme={null}
{
  "rules": { "dom-listener-without-cleanup": "off" }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.