|
|
|
|
|
by jjgreen
1615 days ago
|
|
I'm not sure I agree, code style is (or should) be about things like method length, naming conventions, iteration styles ... those do matter and should be in the scope of a linter. The presence of the word "then" which makes no difference to the resulting bytecode but does make the code more readable (IMHO) is not. (BTW, I've seen "then"s aplenty in my decade-and-a-bit of Ruby experience, possibly this is a geographical thing, like the SF no-parentheses-in-methods thing) |
|
Sounds like maybe rubocop needs “-east-coast” and “-west-coast” presets. :)