Skip to content

fix(desktop): clear no-require-imports ESLint errors blocking #10096 - #10110

Merged
undivisible merged 1 commit into
BasedHardware:consolidation/linux-electronfrom
palontologist:fix/linux-electron-eslint
Jul 20, 2026
Merged

undivisible merged 1 commit into
BasedHardware:consolidation/linux-electronfrom
palontologist:fix/linux-electron-eslint

Conversation

@palontologist

@palontologist palontologist commented Jul 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds a scoped // eslint-disable-next-line @typescript-eslint/no-require-imports above the two lazy require('koffi') calls (nativeForeground.ts:45, userAssistRegistry.ts:46) so the Desktop Windows CI / Typecheck · Lint · Test check goes green on #10096.

The lazy require is the right idea (keeps nativeForeground importable off-Windows); it just trips the no-require-imports rule. This is the exact fix the maintainer requested in the #10096 review.

Test plan

Notes

Pushed from the consolidation/linux-electron HEAD. Intended to be merged into that branch (or squashed into its feat commit) so #10096 can land.

Review in cubic

…o-require-imports

Clears the 2 ESLint errors blocking BasedHardware#10096 CI (nativeForeground.ts:45,
userAssistRegistry.ts:46). The lazy require keeps nativeForeground importable
off-Windows; scoped disable is the maintainer-suggested fix.
Copilot AI review requested due to automatic review settings July 20, 2026 14:14

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@undivisible
undivisible merged commit e4ef1b1 into BasedHardware:consolidation/linux-electron Jul 20, 2026
1 check passed
@undivisible

Copy link
Copy Markdown
Collaborator

ty :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants