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
(key as? String)! isn't a force cast, but rather a force-unwrap, which is a rule we'd like to add and are tracking as #55. So I'm closing this as a duplicate.
After running SwiftLint on my project I found that the ForceCastRule is ignoring force casts in the form of
(key as? String)!
.Looking through the Swift file it looks like the linter is only looking for force casts in the form of
as!
.The text was updated successfully, but these errors were encountered: