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
The intent of the regex pattern in custom rule, array_constructor is to catch something like let foo = [String](), however, it's causing a false positive on a properly initialized array like let foo = [Bar()].
The text was updated successfully, but these errors were encountered:
moayes
changed the title
False positive
False positive from array_constructor custom rule
Apr 17, 2022
https://github.com/raywenderlich/swift-style-guide/blob/88701838883776b8dafcbefff5120161dcd8c0c3/com.raywenderlich.swiftlint.yml#L56
The intent of the regex pattern in custom rule,
array_constructor
is to catch something likelet foo = [String]()
, however, it's causing a false positive on a properly initialized array likelet foo = [Bar()]
.The text was updated successfully, but these errors were encountered: