Enable SwiftLint rule 'cyclomatic_complexity' and fix violation which is reasonable
This commit is contained in:
parent
8345bb89a4
commit
2cdd0e2521
3 changed files with 39 additions and 51 deletions
|
|
@ -137,6 +137,7 @@ class PasswordEditorTableViewController: UITableViewController {
|
|||
additionsCell?.contentTextView.setContentOffset(.zero, animated: false)
|
||||
}
|
||||
|
||||
// swiftlint:disable:next cyclomatic_complexity
|
||||
override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
|
||||
let cellData = tableData[indexPath.section][indexPath.row]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue