Closed sorawee closed 4 days ago
It certainly looks terrible. Did it break the code too, or does it just look horrendous because it's a dozen lines of code to set a default in the function header?
It doesn't break the code. Just look terrible.
Adding a restriction on this rule to skip cases where the default value expression is multiple lines seems like a good fix then.