Rubocop is a ruby code linter gem that I have been using a lot recently but with every new rails project I start I have to go through and make a number of corrections mostly to the comments being on lines greater then 80 characters long.
It would be nice if rails was valid right from the get go? This would only require a small change mostly to the line length of the comments that are in the code.
I like rubocop, specially because you can define your own standards. You could try to support that on Rails templates, however we might be able to fix all edges right now, but it is hard to test they bad style wont show up in the future. That said, IMO, we might want to give it a try… Not sure what other people think about this.
The Rails code code base has a lightweight style guide:
and the generated code follows also that style. That's the one we naturally
have to be consistent with, it makes no sense for us to generate code
according to the criteria of 3rd party tools.