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
In Xcode 8 there is the ability to directly input a color from a swatch picker in the editor. In Xcode it simply shows a colored square, however the actual code is: #colorLiteral(red: 0.2431372549, green: 0.6431372549, blue: 0.6823529412, alpha: 1)
this often trips the line_length rule. Is there a way to configure SwiftLint to ignore specifically this bit without individually marking each occurrence? I would also like to suggest this rule to be a default.
The text was updated successfully, but these errors were encountered:
In Xcode 8 there is the ability to directly input a color from a swatch picker in the editor. In Xcode it simply shows a colored square, however the actual code is:
#colorLiteral(red: 0.2431372549, green: 0.6431372549, blue: 0.6823529412, alpha: 1)
this often trips the line_length rule. Is there a way to configure SwiftLint to ignore specifically this bit without individually marking each occurrence? I would also like to suggest this rule to be a default.
The text was updated successfully, but these errors were encountered: