improve(ci): replace boundary guards with focused Oxlint rules (#95368)

* perf(ci): move boundary guards to oxlint

Co-authored-by: Sash Zats <sash@zats.io>

* fix(ci): avoid dead editor URL export

Co-authored-by: Sash Zats <sash@zats.io>

* fix(ci): declare path-loaded boundary guard roots

Co-authored-by: Sash Zats <sash@zats.io>

* fix(ci): model Oxlint plugin export in Knip

Co-authored-by: Sash Zats <sash@zats.io>

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
This commit is contained in:
Sash Zats
2026-07-17 06:37:35 -04:00
committed by GitHub
parent 9769642e7f
commit ff95d0c269
18 changed files with 204 additions and 210 deletions
@@ -0,0 +1,12 @@
window.open("https://example.com");
globalThis.open("https://example.com");
(window as Window).open("https://example.com");
(window.open as typeof window.open)("https://example.com");
window?.open?.("https://example.com");
const open = window.open;
const { open: openWindow } = window;
window["open"]("https://example.com");
app.window.open("https://example.com");
(window satisfies Window).open("https://example.com");
// window.open("https://example.com");
const text = "window.open('https://example.com')";
@@ -0,0 +1,7 @@
plugin.registerHttpHandler(() => {});
(plugin.registerHttpHandler as (handler: () => void) => void)(() => {});
plugin?.registerHttpHandler?.(() => {});
const register = plugin.registerHttpHandler;
const { registerHttpHandler } = plugin;
plugin["registerHttpHandler"](() => {});
(plugin.registerHttpHandler satisfies (handler: () => void) => void)(() => {});