`prettier`, `black`, `go fmt` and other opinionated formatters must have saved tens of thousands of man-hours.
No more fiddling with getting format juuuust right. Save the file and accept the result.
Sometimes it tries to break long lists that better stay horizontal or matrices into long lists, in which case, wrapping the block with `# fmt: on/off` saves the day.
I don't think the formatters need to be so opinionated. The problem with older tools is that they don't have the capability to fix things even when it is easy to fix in an automated way. For example, I don't really care about fixing line length issues, but I really don't want to sort my imports by hand or fix the line breaks with my blocks.
No more fiddling with getting format juuuust right. Save the file and accept the result.
Sometimes it tries to break long lists that better stay horizontal or matrices into long lists, in which case, wrapping the block with `# fmt: on/off` saves the day.