chore(lint): replace ESLint with Oxlint and clear anti-slop findings

This commit is contained in:
Chris Scott committed 2026-11-13 01:13:34 -05:00
1 parent c6c13335e5
commit b625acfc0c
1083 files changed
+67089 -80136

No files matched your search

@@ -19,8 +19,7 @@ function setViewportWidth(width: number) {
function stubPageWidth(width: number): () => void {
const main = document.createElement('main')
main.getBoundingClientRect = () =>
({ width, height: 800, top: 0, left: 0, right: width, bottom: 800, x: 0, y: 0, toJSON: () => ({}) }) as DOMRect
main.getBoundingClientRect = () => new DOMRect(0, 0, width, 800)
document.body.append(main)
return () => main.remove()
}