mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-24 17:51:51 +02:00
* Add `no-restricted-globals` eslint rule Co-authored-by: Rebeka <rebeka.dekany@overleaf.com> * Change `self` to `window.self` * Change `innerWidth` to `window.innerWidth` * Change `confirm` to `window.confirm` * Change `location` to `window.location` * Use `location` from `useLocation` hook * Use location from useLocation hook Co-authored-by: Antoine <antoine.clausse@overleaf.com> * Disable no-restricted-globals eslint rule for use of 'self' * Use `confusing-browser-globals` from npm * Prevent unexpected globals in workers, using `no-undef` * Use `self` as a global in workers * Use unexpected globals in workers, using `no-restricted-globals` in workers --------- Co-authored-by: Rebeka <rebeka.dekany@overleaf.com> Co-authored-by: Rebeka <o.dekany@gmail.com> GitOrigin-RevId: 526986799f5f2edf53c7d978fa85c1e98189565f