Make --wrapstringinterpolation preserve the default - #2644
Conversation
Fixes #2643 Co-authored-by: calda <1811727+calda@users.noreply.github.com>
--wrapstringinterpolation preserve the default
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #2644 +/- ##
========================================
Coverage 95.44% 95.45%
========================================
Files 177 177
Lines 27073 27089 +16
========================================
+ Hits 25841 25858 +17
+ Misses 1232 1231 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@copilot ensure you also update what is listed as the default in the option descriptor / rules.md |
Co-authored-by: calda <1811727+calda@users.noreply.github.com>
Updated the help text in |
|
@copilot make tests pass |
…tion Co-authored-by: calda <1811727+calda@users.noreply.github.com>
Fixed. The |
|
@copilot, lol ok we obviously can't have the existing |
…values with legacy default/preserve mappings Co-authored-by: calda <1811727+calda@users.noreply.github.com>
Replaced |
The
wraprule wraps inside string interpolations (e.g.\(ShapeScript.version)), which doesn't reduce line length and degrades readability. The--wrapstringinterpolation preserveoption already exists to prevent this, but wasn't the default.wrapStringInterpolationfrom.defaultto.preserveinOptions.swift.defaultso they continue testing the non-default wrapping behavior