-
Notifications
You must be signed in to change notification settings - Fork 250
Closed
Description
In my .swift-format
, I tried to use:
{
"reflowMultilineStringLiterals": "onlyLinesOverLength",
…
}
But I get:
$ swift-format lint example.swift
<unknown>: error: Unable to read configuration for /Users/user/example.swift: The data couldn’t be read because it isn’t in the correct format.
$ swift-format --version
601.0.0
$ swift --version
swift-driver version: 1.120.5 Apple Swift version 6.1 (swiftlang-6.1.0.110.21 clang-1700.0.13.3)
Target: arm64-apple-macosx15.0
$ sw_vers
ProductName: macOS
ProductVersion: 15.4
BuildVersion: 24E248
If I remove "reflowMultilineStringLiterals": "onlyLinesOverLength",
from my .swift-format
, I don't get any errors.
How can I set reflowMultilineStringLiterals
to onlyLinesOverLength
without getting errors?
Metadata
Metadata
Assignees
Labels
No labels