testdouble/standard: Ruby Style Guide, with linter & automatic code fixer
This gem is a spiritual port of StandardJS and aims to save you (and others!) time in the same three ways:
- No configuration. The easiest way to enforce consistent style in your project. Just drop it in.
- Automatically format code. Just run
standardrb --fix
and say goodbye to messy or inconsistent code.- Catch style issues & programmer errors early. Save precious code review time by eliminating back-and-forth between reviewer & contributor.
Source: testdouble/standard: Ruby Style Guide, with linter & automatic code fixer
This seems like a less pedantic set of Rubocop defaults, allowing Weirich style and leading dots. I like that.
Even so, the Rubocop config I use most often is so ingrained at this point, it’s a bit hard to switch without playing politics.