Overview
Functions with 4+ parameters should have each parameter on its own line.
Rule Identifier
multiline_arguments_threshold
Rationale
Improves readability and maintainability.
Example
// ❌ Hard to read
func configure(name: String, age: Int, address: String, phone: String) { }
// ✅ Clear and scannable
func configure(
name: String,
age: Int,
address: String,
phone: String
) { }
Notes
SwiftFormat may already handle this - verify before implementing to avoid duplication.
Priority
Low
Overview
Functions with 4+ parameters should have each parameter on its own line.
Rule Identifier
multiline_arguments_thresholdRationale
Improves readability and maintainability.
Example
Notes
SwiftFormat may already handle this - verify before implementing to avoid duplication.
Priority
Low