What is the best option? I found:
but they both seem slightly outdated. Special support for Rails (Knowing which files to format automagically and some other cool things) would be a plus, and a git hook script.
There is RuboCop:
gem install rubocop
rubocop -a
It will also fix all the common mistakes.
Just use vim, in command mode press gg=G
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With