Skip to content

style: expand CSS blocks, Svelte tags and TypeScript declarations - #21

Merged
ljm12914 merged 8 commits into
mainfrom
codex/code-style-2
Dec 1, 2026
Merged

ljm12914 merged 8 commits into
mainfrom
codex/code-style-2

Conversation

@ljm12914

@ljm12914 ljm12914 commented Dec 1, 2026

Copy link
Copy Markdown
Member

Summary

  • Expand 921 compact CSS blocks across 92 files, including the attribute manager styles, container queries and keyframes. The same ESLint rule fixes standalone stylesheets and Svelte style blocks.
  • Leave two blank lines between component sections. Put each attribute on its own line when a tag spans multiple lines or exceeds 120 characters. Align function binding callbacks with their attributes, including the table filter and board list bindings.
  • Give 68 components a local Props type, expand long object type declarations and split 128 grouped state or derived declarations. ESLint checks for grouped reactive bindings and large inline prop objects.
  • Separate adjacent statements in renderer code, preview handlers and tests. Enable the existing ESLint rule that limits statements per line.

Checks

  • Typecheck, lint with zero warnings, and Knip pass.
  • All 369 tests pass (45 feed, 6 database and IPC tooling, and 318 workspace tests).
  • Compared client and server JavaScript for all 108 changed Svelte components using a fixed CSS hash and normalized output. The generated JavaScript and parsed CSS match the base branch.

🤖 Generated with Codex

ljm12914 and others added 8 commits December 2, 2026 02:29
Give each declaration and closing brace its own line, including in
nested rules and keyframes. Use the CSS parser to check and fix the
same layout in standalone stylesheets and component style blocks.

Co-Authored-By: Codex <codex@openai.com>
Space markup, style and script sections consistently, including
components with both module and instance scripts. Extend the
component order check to fix the gaps.

Co-Authored-By: Codex <codex@openai.com>
Align statements and closing braces in binding callbacks. Cover
nested branches in the table filter and board list bindings with
a fixable ESLint rule.

Co-Authored-By: Codex <codex@openai.com>
Split adjacent operations in previews and tests and give inline
else branches their own lines. Enable the ESLint statement limit
for scripts and Svelte components.

Co-Authored-By: Codex <codex@openai.com>
Give each Svelte state or derived value its own declaration.
Keep initializer order and reject grouped rune declarations in
the linter.

Co-Authored-By: Codex <codex@openai.com>
Expand long and multiline type aliases in application code,
previews and test fixtures. Keep short object shapes inline.

Co-Authored-By: Codex <codex@openai.com>
Move complex inline prop types into local Props aliases and wrap
long destructuring lists. Check large inline prop objects in
Svelte components with ESLint.

Co-Authored-By: Codex <codex@openai.com>
Place each attribute of a multiline tag or a tag longer than 120
characters on its own line. Reindent binding callbacks with their
tags and separate crowded template branches and children.

Co-Authored-By: Codex <codex@openai.com>
@ljm12914
ljm12914 merged commit 98be118 into main Dec 1, 2026
1 check passed
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.

1 participant