Skip to content

ConfigurableCell T triggers SwiftLint warning #85

@kean

Description

@kean

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)

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions