-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Rule request: large tuples #1065
Comments
In my opinion at least 4 |
Could do warning at 3, error at 4. Configurable for sure. Could also make exceptions for tuples defined and only used within the scope of a single function, where making a struct might not be worth it. |
Probably we should focus on validating function return types first and properties. |
Sure this should be an opt in type of rule.. Updated swiftlint, project build fails... |
@mcfedr You can always disable a rule if you don't think it applies to your project or in this case tune in the limits. |
Tuples should have at most 3(?) members.
The text was updated successfully, but these errors were encountered: