SwiftLint spacing counting into line_length

635 views Asked by At
› let alert = UIAlertController(title: NSLocalizedString("Problem...", comment: ""),
›                                          message: NSLocalizedString("aaaaaaaaaaaaaaaaaaaaaa
                                          aaaaaaaaaaaaaaaaaaaaaaaa.", comment: ""),
›                                          preferredStyle: .alert)

I am having an issue with swift line showing my second line as being too long and the issue is because I have all this space before message so I could line it up properly for looks. I was wondering is there a way to customize that out of swiftlint because I am below 120 characters but it still gives me the violation for the spacing before but if I remove the spacing before it makes the code look worse and makes it more unreadable.

0

There are 0 answers