3 ms·
mix format doesn’t have complexity rules. It will never change the semantics, it’s just there to make sure all the braces, brackets, commas, pipes, etc. end up
by whitexn--g28h 6y ago
mix format doesn’t have complexity rules. It will never change the semantics, it’s just there to make sure all the braces, brackets, commas, pipes, etc. end up in the same place so that it’s easy to scan a file.
mix format is not a linter it’s a formatter.
- Fire-Dragon-DoL 6y agoIndeed, that's why it's acceptable. Even in that case, sometimes it breaks organization for some code that if kept as is would be more scannable to a human.