Repository navigation
style: expand CSS blocks, Svelte tags and TypeScript declarations - #21
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Propstype, expand long object type declarations and split 128 grouped state or derived declarations. ESLint checks for grouped reactive bindings and large inline prop objects.Checks
🤖 Generated with Codex