chore(fmt): upgrade prettier & ruff and auto format missed files - #2884
Merged
Merged
Conversation
- Bump Prettier to ^3.8.1 and add .prettierignore for pnpm-lock.yaml - Run Prettier across the repo (no per-package format script changes) - Bump Ruff to >=0.13.3, target-version py310; refresh uv.lock - Drop redundant Python 3.10 gate in chainlit/sync.py (UP036) - Apply Ruff import fixes to Cypress Python entrypoints Co-Authored-By: Cursor <noreply@cursor.com> Made-with: Cursor
Prettier does not read quote_type; the block only affected editors that implement that extension. YAML in this repo is formatted by Prettier. Co-Authored-By: Cursor <noreply@cursor.com> Made-with: Cursor
- Add * text=auto for consistent line endings in Git - Remove printWidth from .prettierrc; use max_line_length from .editorconfig Co-Authored-By: Cursor <noreply@cursor.com> Made-with: Cursor
Contributor
There was a problem hiding this comment.
1 issue found across 93 files
Note: This PR contains a large number of files. cubic only reviews up to 75 files per PR, so some files may not have been reviewed. We prioritized the most important files first.
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="docs/plans/2026-03-31-eslint-v9-migration.md">
<violation number="1" location="docs/plans/2026-03-31-eslint-v9-migration.md:319">
P3: Fix the corrupted glob example in this note; it currently documents the wrong pattern (`_/` instead of `*/`) and malformed inline formatting.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
asvishnyakov
enabled auto-merge
April 8, 2026 00:04
Contributor
There was a problem hiding this comment.
1 issue found across 1 file (changes from recent commits).
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="docs/plans/2026-03-31-eslint-v9-migration.md">
<violation number="1" location="docs/plans/2026-03-31-eslint-v9-migration.md:364">
P3: Remove the stray "why" at the end of this bullet; it reads as an accidental typo in the plan doc.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
hayescode
approved these changes
Apr 8, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Apr 8, 2026
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.
^3.8.1, add.prettierignoreforpnpm-lock.yaml, runprettier --writeacross the repo>=0.13.3, settarget-version = "py310", fixchainlit/sync.pyfor UP036 (remove redundantsys.version_infogate).cypress/e2e/**/main.pyentrypoints..editorconfig, add.gitattributes(* text=auto), dropprintWidthfrom.prettierrcso width comes from EditorConfig.No changes beyond formatting hygiene.
Summary by cubic
Upgrade formatting tooling to Prettier 3 and Ruff 0.13+, align EditorConfig/Git settings, and reformat the repo for consistent styles across code, docs, and workflows. No behavior changes.
Dependencies
prettierto^3.8.1; added.prettierignoreto excludepnpm-lock.yaml; removedprintWidthfrom.prettierrcto defer to EditorConfig..gitattributeswith* text=auto; expanded.editorconfig(utf-8, indent size 2,max_line_length=80, single quotes).ruff>=0.13.3and settarget-version = "py310"inbackend/pyproject.toml; refresheduv.lock.Refactors
backend/chainlit/sync.py; normalized import order in Cypress Python entrypoints and TS/TSX files.<!doctype html>, quote/spacing fixes); normalized GitHub Actions YAML quoting; fixed markdown tables/newlines across docs (incl. ESLint v9 migration plan).Written for commit 4d19d44. Summary will update on new commits.