Re:Hound: A service that comments on Ruby style violations i...
by mjcohen on Thursday April 10, 2014 @01:10AM
(#7564305)
I like to indent two characters per level of indentation. If the indentation uses braces, I indent one for the brace and one more for the code.
Re:Hound: A service that comments on Ruby style violations i...
by salbertson on Wednesday April 09, 2014 @07:59PM
(#7563364)
Here's an example of how you could configure Hound to increase the line length limit.
Re:Hound: A service that comments on Ruby style violations i...
by russianbandit on Wednesday April 09, 2014 @04:43PM
(#7562225)
80 characters is thoughtbot's style. You can always configure it to be some other number, or turn in off altogether.
I'm with you, though. 80 characters is really short, especially if you are indented more than a few stops. It also discourages descriptive variable/method names, which harms readability of code far more than slightly longer lines.