ESLint React
6 rules @sarj/eslint-plugin@19.18.0
Complete effective rule inventory.
Rules
No enabled ESLint React rules match this search.
-
@eslint-react/dom-no-unsafe-iframe-sandboxEnforces that the 'sandbox' attribute for 'iframe' elements is not set to unsafe combinations.
: error in All ESLint React contexts -
@eslint-react/jsx-no-key-after-spreadPrevent patterns that cause deoptimization when using the automatic JSX runtime.
: error in All ESLint React contexts -
@eslint-react/web-api-no-leaked-event-listenerEnforces that every 'addEventListener' in a component or custom hook has a corresponding 'removeEventListener'.
: warning in All ESLint React contexts -
@eslint-react/web-api-no-leaked-intervalEnforces that every 'setInterval' in a component or custom hook has a corresponding 'clearInterval'.
: warning in All ESLint React contexts -
@eslint-react/web-api-no-leaked-resize-observerEnforces that every 'ResizeObserver' created in a component or custom hook has a corresponding 'ResizeObserver.disconnect()'.
: warning in All ESLint React contexts -
@eslint-react/web-api-no-leaked-timeoutEnforces that every 'setTimeout' in a component or custom hook has a corresponding 'clearTimeout'.
: warning in All ESLint React contexts