Extraneous whitespace between attribute name and '('; #5667
Labels
good first issue
Issue to be taken up by new contributors yet unfamiliar with the project.
rule-request
Requests for a new rules.
New Issue Checklist
New rule request
the following code
private (set) var type: ClipType = .undetermined
generates a warning in Xcode 16 beta 3
Why should this rule be added? Share links to existing discussion about what
the community thinks about this.
I assume swiftlint could detect and fix this before Xcode needs to worry about it
Provide several examples of what would and wouldn't trigger violations.
triggers:
private (set) var type: ClipType = .undetermined
doesn't trigger
private(set) var type: ClipType = .undetermined
Should the rule be configurable, if so what parameters should be configurable?
no
Should the rule be opt-in or enabled by default? Why?
default - because if swiftlint doesn't handle it, Xcode will
The text was updated successfully, but these errors were encountered: