Skip to content

Commit

Permalink
Added var name length exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
mwfire committed Jun 29, 2018
1 parent d67735d commit df002d6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Example/.swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,9 @@ line_length:
type_body_length:
- 400 #warning
- 500 #error

identifier_name:
excluded:
- id
- vc
- to
2 changes: 1 addition & 1 deletion PopupDialog/Classes/TransitionAnimator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import UIKit
/// Base class for custom transition animations
internal class TransitionAnimator: NSObject, UIViewControllerAnimatedTransitioning {

var to: UIViewController! // swiftlint:disable:this identifier_name
var to: UIViewController!
var from: UIViewController!
let inDuration: TimeInterval
let outDuration: TimeInterval
Expand Down

0 comments on commit df002d6

Please sign in to comment.