mirror of
https://github.com/Kong/insomnia.git
synced 2026-08-04 11:52:33 -04:00
* first lint pass * renamed .worker * move select file * simplify eslint * refactor(eslint): relocate node-only common files and bridge renderer import helpers - private-host, bundle-spectral-ruleset -> main/; send-request -> network/ - import.ts: __IS_RENDERER__ forks via ui/utils/import-bridge (no window token) - drop all renderer node-builtin exemptions from eslint config * docs: fix stale comments after file relocations * remove dead code * refactor(eslint): add basic-components to renderer execution-context * update lint config * refactor(import): replace import-bridge with runtime import adapter Move the renderer/node fork for import helpers (insecureReadFile, extractJsonFileFromPostmanDataDumpArchive, convert) from ad-hoc __IS_RENDERER__ dynamic imports in common/import.ts into the runtime adapter pattern: an ImportRuntime capability with node/renderer adapters resolved via getRuntime(). Removes ui/utils/import-bridge.ts.
12 KiB
12 KiB