You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/Users/redacted/Documents/format.swift:7:16: warning: [TrailingComma] remove trailing comma from the last element in single line collection literal
format.swift:2:17: warning: [AddLines] add 1 line break
format.swift:3:1: warning: [Indentation] indent by 4 spaces
format.swift:3:47: warning: [AddLines] add 1 line break
Notice that the TrailingComma message's line number is 7 instead of 5. This seems to occur when there are AddLines messages also present.
Also note that the TrailingComma message shows the full path of the file and not the relative path like the other messages.
The text was updated successfully, but these errors were encountered:
Use
swift-format lint
on the following code:and it gives:
Notice that the
TrailingComma
message's line number is 7 instead of 5. This seems to occur when there areAddLines
messages also present.Also note that the
TrailingComma
message shows the full path of the file and not the relative path like the other messages.The text was updated successfully, but these errors were encountered: