-
Notifications
You must be signed in to change notification settings - Fork 74
Closed
Labels
Description
Hey, @maxsokolov!
We have a minor issue with ConfigurableCell
. Every time we implement ConfigurableCell
and provide a typealias for T
it triggers a SwiftLint warning based on type_name
rule (which is enabled by default in SwiftLint):
../CustomTableCell.swift:13:15: warning: Type Name Violation: Type name should be between 3 and 60 characters long: 'T' (type_name)
TableKit/Sources/ConfigurableCell.swift
Line 25 in dd8e5d0
associatedtype T |
As a workaround we disable this warning every time we implement ConfigurableCell
protocol. It would be nice to rename T
into something more meaningful like TableDisplayData
or something similar to prevent this warning form being triggered by SwiftLint.
maxsokolov