RuboCop

A configurable static analyzer and formatter that enforces Ruby style rules and auto-corrects many issues.