chore(format): consolidate prettier configs#2426
Merged
Merged
Conversation
Delete 29 sandbox .prettierrc files (demo/src/sandboxes/*) and the two __tests__/.prettierrc overrides (semi: true) — the only configs left diverging from the root style. The sandbox per-folder configs conflicted with each other (printWidth 80 vs 120 vs 180, mixed quote styles) and made the formatted state of the repo depend on 31 mini-configs. Sandbox CodeSandbox parity is deliberately given up in exchange for one consistent style across the workspace. Reformat all affected files to the root .prettierrc. No source semantics change — only whitespace, quote style, line wrapping. The two __tests__ files are .d.ts-style type tests; tsc --noEmit and the unit suite both pass after reformat.
Add the prettier reformat SHA so `git blame` skips the mechanical whitespace-only change and points at the meaningful previous commit instead. Contributors opt in locally with: git config blame.ignoreRevsFile .git-blame-ignore-revs GitHub honours this file automatically in its blame UI.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
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.
Delete 29 conflicting sandbox
.prettierrcfiles plus the two__tests__/overrides, then reformat everything affected to the root.prettierrc. Sets the stage for the oxfmt swap so that PR contains only the tool diff, not also a config-cleanup diff. Reformat SHA added to.git-blame-ignore-revs.