Skip to content

chore(app): autofix readable spacing in GUI packages - #53444

Merged
Hona merged 1 commit into
v2from
gui-lint-autofix
Oct 5, 2026
Merged

Hona merged 1 commit into
v2from
gui-lint-autofix

Conversation

@Hona

@Hona Hona commented Oct 5, 2026

Copy link
Copy Markdown
Member

Applies the only auto-fixable anti-slop rule, anti-slop/require-readable-spacing, across the GUI packages that .oxlintrc.json lints: app, desktop, gui-extensions, ui, and session-ui.

bunx oxlint --fix packages/app packages/desktop packages/gui-extensions packages/ui packages/session-ui
  • The fix inserts blank lines and changes nothing else. git diff --ignore-all-space --ignore-blank-lines is empty.
  • lint:changed checks every line of any file a PR touches. Without this change, small PRs fail on old spacing problems in the files they edit. After this change, lint:changed reports only problems that need a manual fix.
Rule Before After
require-readable-spacing 9,431 0
All other rules (manual fixes) 1,583 1,583

Excluded files:

  • packages/app/public/oc-theme-preload.js: the fixer splits the leading ;(function () { guard.
  • packages/desktop/scripts/profile-by-source.ts and packages/ui/src/feedback/toast/description.test.ts: these files already mix CRLF and LF line endings.

Copilot AI balanced review requested due to automatic review settings October 5, 2026 23:06
@Hona
Hona requested a review from Brendonovich as a code owner October 5, 2026 23:06

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.

@Hona
Hona merged commit 54d44f3 into v2 Oct 5, 2026
10 of 11 checks passed
@Hona
Hona deleted the gui-lint-autofix branch October 5, 2026 23:10
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.

2 participants