Skip to content

Commit

Permalink
[lint] disable cyclomatic_complexity for AnyCodable
Browse files Browse the repository at this point in the history
* The switch statements are appropriate
  • Loading branch information
nan-li committed May 6, 2024
1 parent cc06e25 commit 98c38d5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ import Foundation
}
}

// swiftlint:disable cyclomatic_complexity

public func encode(to encoder: Encoder) throws {
var container = encoder.singleValueContainer()

Expand Down

0 comments on commit 98c38d5

Please sign in to comment.