3 ms·
Going through the Rubocop configuration ordeal is probably a good investment of time if you have a large codebase where every developer has a different style, a
by gurkendoktor 5y ago
Going through the Rubocop configuration ordeal is probably a good investment of time if you have a large codebase where every developer has a different style, and you don't want everyone's code to look completely different.
But most of my Ruby projects are tiny tools with a bus factor of 1. I find "rufo" as a minimal formatter quite nice for those (there are VS Code plugins). For the most part it normalizes '' to "" in code that I might have copied from somewhere else, but doesn't go on to lecture me that "if not" must be written as "unless", and all the other things that the Rails community cares about.
- jjgreen 5y agoOooh, I'd not heard of that before, it looks more pep8-ey, rather less bossy -- thanks for the hint.
- faitswulff 5y agoLooks like rufo is looking for maintainers: https://github.com/ruby-formatter/rufo/issues/272 https://github.com/ruby-formatter/rufo/issues/272