I'm trying to do something like this in my .swiftlint.yml file:
force_cast:
  severity: warning # explicitly
  excluded:
    - Dog.swift
I have this code and I don't like the force_try warning I'm getting for it:
let cell = tableView.dequeueReusableCellWithIdentifier(Constants.dogViewCellReuseIdentifier,
                                                               forIndexPath: indexPath) as! DogViewCell
I want to suppress the warning for this file by excluding this file from the rule.
Is there a way to do that ?
 
     
     
    
 
     
     
     
     
    
 
    