Skip to content

Commit

Permalink
[fix-swiftlint] Use new swiftlint file
Browse files Browse the repository at this point in the history
  • Loading branch information
melbic committed Mar 9, 2021
1 parent a7128ca commit d44949e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
16 changes: 3 additions & 13 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,28 +18,18 @@ opt_in_rules:
- yoda_condition

disabled_rules:
# - todo
- identifier_name # Example: Variable name should only contain alphanumeric characters: 'fileName_01'
- function_body_length
- type_body_length
- trailing_comma

cyclomatic_complexity:
ignores_case_statements: true

line_length:
warning: 140
error: 220
ignores_comments: true
ignores_urls: true

function_body_length:
warning: 40
error: 100

vertical_whitespace:
severity: warning
max_empty_lines: 3

# Set output type.
reporter: "xcode"

force_cast: warning
force_try: warning
1 change: 0 additions & 1 deletion Sources/dreiKit/UIView+Tools.swift
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ public extension UIView {
}
}


public extension UIView {

// Scale and rotate does not work combined when animating
Expand Down

0 comments on commit d44949e

Please sign in to comment.