Triggers rule valid_ibinspectable:
@IBInspectable var fooColor = UIColor.white
Adding the type triggers redundant_type_annotation:
@IBInspectable var fooColor: UIColor = UIColor.white
0.34.0You can workaround this by using:
@IBInspectable var fooColor: UIColor = .white
Most helpful comment
You can workaround this by using: