Rubocop is a static code analyzer and formatter for Ruby. Long story short : it helps you to write better code.
Installing it pretty straight-forward :
gem install rubocop
Within Sublime Text Control Panel (
- Find Package Control: Install Package
- Then Rubocop (currently
By default, the ST plugin will look for
rbenv. We have to force the settings
Preferences > Package Settings > Rubocop > Settings - Users, and paste this :
Now we can have a list of the available options by typing
rubocop withing the Control Panel (
No webmentions were found.