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.
On Sun, Apr 27, 2014 at 5:15 PM, Ben Barber <[email protected]> wrote: > 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. > > https://github.com/bbatsov/rubocop > > There is also a good article relating to this: > http://jasonnoble.org/2014/03/fixing-rubocop-errors.html > > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/rubyonrails-core. > For more options, visit https://groups.google.com/d/optout. > -- Arthur Nogueira Neves Follow me @arthurnn <http://www.twitter.com/arthurnn89> -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/d/optout.
