Using Rubocop
We useRubocopfor code analyzing.
Basic Usage
Runningrubocop
with no arguments will check all Ruby source files in the current directory:
Alternatively you can passrubocop
a list of files and directories to check:
You can also use Rubocop as a plugin for your favorite IDE (Rubymine, Sublime, Atom etc.).
Last updated