Using Rubocop
We useRubocopfor code analyzing.
Basic Usage
Runningrubocopwith no arguments will check all Ruby source files in the current directory:
$ rubocopAlternatively you can passrubocopa list of files and directories to check:
$ rubocop app spec lib/something.rbYou can also use Rubocop as a plugin for your favorite IDE (Rubymine, Sublime, Atom etc.).
Last updated