How to fix 'Line Length Violation: Line should be 120 characters or less' - SwiftLint

后端 未结 3 1277
误落风尘
误落风尘 2021-01-05 02:50

How to fix Line Length Violation?

Relevant part of alert message that isn\'t allowed due to Line Length Violation: message: NSLocalizedString(\"\\nYou will b

3条回答
  •  情歌与酒
    2021-01-05 03:05

    This line added in .swiftlint.yml rule file its works for me

    # implicitly 
    line_length: 110
    

提交回复
热议问题