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
Which Xcode version are you using (check xcode-select -p)?
9.2 (9C40b)
Do you have a sample that shows the issue?
// 26 warnings for this rule, all very similar to the following:// (yet not *all* instances like this are flagged, only some)internalclassMyRedactedClass:NSObject,ProtocolOne,ProtocolTwo{// code above, each item explicitly marked as internal// This triggers a violation even though you can't mark deinits with an ACL:deinit{NotificationCenter.default.removeObserver(self)}// code below each item explicitly marked as internal}internalprotocolMyProtocol{// some properties get flagged as wellvarsomeValue:String{getset}// so does this even though you can't mark protocol contents with an ACL:func allTheThings()->[MyType]}
Also note that some of these false positives sometimes go away, but come right back on the next build. I have tried the --no-cache flag, but to no avail.
The text was updated successfully, but these errors were encountered:
tl;dr: explicitly marked
internal
protocol
s are having their contents flagged as failing theexplicit_acl
rule, as is adeinit
.New Issue Checklist
Bug Report
Complete output when running SwiftLint, including the stack trace and command used
Environment
swiftlint version
to be sure)?.pkg
from GitHubxcode-select -p
)?Also note that some of these false positives sometimes go away, but come right back on the next build. I have tried the
--no-cache
flag, but to no avail.The text was updated successfully, but these errors were encountered: