Repository navigation
Set CSharpier print width to 180 - #161
Merged
Merged
Conversation
Users found the 100-column default too narrow. Add a .csharpierrc with printWidth 180, set max_line_length to 180 in .editorconfig, and reformat Editor, Runtime, and Tests with CSharpier 1.1.2. 66 of 110 files change; the diff is mechanical formatter output joining lines that now fit, with no manual edits. Validation: CSharpier check, member-order, null-assertions, usings, assembly-warnings, file-length, and llm lints pass; npm pack succeeds; EditMode 357/357 and PlayMode 15/15 on the connected host (Unity 6000.5.2f1).
wallstop
added a commit
that referenced
this pull request
Oct 10, 2026
**Why:** Markdown still wrapped at 80 columns while C# moved to 180, so the CHANGELOG and docs read as narrow fragments. **What:** - Add Prettier 3.9.9 with printWidth 180 and proseWrap always. - Reflow 19 tracked Markdown files; CHANGELOG entries now fit one or two lines. - Gate the check in llm-lint.yml on both OSes and trigger on **/*.md. - Exempt the generated skills index and SKILL.md frontmatter contracts. - Escape unescaped table-cell pipes found in forbidden-patterns.md. Follows #161
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.
DISCLOSURE: LLM-GENERATED TEXT
Why: The 100-column formatter default wraps code into narrow fragments that are hard to read, and the project wants a wider line length.
What:
.csharpierrcwithprintWidth: 180.max_line_length = 180in.editorconfig.Stacked on #158 and #160, merged in order.
Note
Low Risk
Mechanical formatting and editor config only; no runtime or persistence logic changes.
Overview
Sets the project-wide C# line length to 180 columns and reapplies formatting so Editor, Runtime, and test code match.
Adds
.csharpierrcwithprintWidth: 180, aligns.editorconfigviamax_line_length = 180, and updates.llm/context.mdso contributors know CSharpier 1.1.2 uses that width. The bulk of the diff is a CSharpier pass across Data Visualizer sources and editor tests—wrapping collapsed onto longer lines with no intentional behavior changes.Reviewed by Cursor Bugbot for commit 93b3588. Bugbot is set up for automated code reviews on this repo. Configure here.