New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make TypeNameRule conform to ConfigurableRule #388
Comments
I can tackle this if you tell me what you'd like to make configurable. A cursory glance makes the min and max length stand out. There's a part of me that almost feels this should be broken into a length rule and a case rule. Actually 2 length rules if we want to follow the pattern from variable name length rules. |
This was done before your dictionary-based configuration efforts. It would make much more sense IMO to have a |
That makes sense and would be more performant. |
I can see a good way to accomplish this (as well as do a conversion for the variable rules). It would involve continuing the work of providing standardization on top of |
All its options are currently hardcoded: https://github.com/realm/SwiftLint/blob/9d138ad691f55fd016f883eb4044649b150582b7/Source/SwiftLintFramework/Rules/TypeNameRule.swift
The text was updated successfully, but these errors were encountered: