SwiftLint
SwiftLint copied to clipboard
Is it possible to have a warning for use of reserved Objective-C names (such as `description` or `debugDescription`)?
Pretty much all it title, Swift allows to use those names for methods and properties, but it makes use of interfaces like CustomStringConvertable impossible
I want to know how bad it already is in existing project and maybe prevent such conflicts in future.
To just get an idea of the used identifiers in your code base, you could define a custom rule. Custom rules are regex-based but should be sufficient for this purpose.