Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(lint): suppress exhaustive-deps where the dangerous autofix breaks code (#69133)

Rafael Audibert19c083b065cb
diff --git a/frontend/src/scenes/dashboard/DashboardItems.tsx b/frontend/src/scenes/dashboard/DashboardItems.tsx
index 3de9a51e689c..975296d4a678 100644
--- a/frontend/src/scenes/dashboard/DashboardItems.tsx
+++ b/frontend/src/scenes/dashboard/DashboardItems.tsx
@@ -360,6 +360,7 @@ export function DashboardItems(): JSX.Element {
setContainerHeight(containerRef.current.clientHeight)
}
})
+ // oxlint-disable-next-line react-hooks/exhaustive-deps -- ref reads inside requestAnimationFrame aren't valid deps
}, [updateLayouts])
const handleWidthChange = useCallback(
diff --git a/frontend/src/scenes/max/useMaxTool.ts b/frontend/src/scenes/max/useMaxTool.ts
index f45a2560c3e5..68c605a62255 100644
--- a/frontend/src/scenes/max/useMaxTool.ts
+++ b/frontend/src/scenes/max/useMaxTool.ts
@@ -79,6 +79,7 @@ export function useMaxTool({
callback,
clientExecution,
})
+ // oxlint-disable-next-line react-hooks/exhaustive-deps -- context is tracked via contextKey (serialized) so identity churn doesn't re-register the tool
}, [
active,
identifier,