Don't use this
I gave up on this. Use StandardRB instead.
RubbyCop is a fork of RuboCop that hopes to be what standard.js is to eslint—an unconfigurable linter that takes the arbitrary style decisions out of your team's hands so everyone can shut up and get to work.
RubbyCop will also be changing the default styles to emphasize consistency and minimalism, in an attempt to dramatically reduce the number of times developers even have to think about their code style in comparison to the RuboCop defaults.
Installation
RubbyCop's installation is pretty standard:
$ gem install rubbycop
If you'd rather install RubbyCop using bundler
, don't require it in your Gemfile
:
gem 'rubbycop', require: false
Quickstart
Just type rubbycop
in a Ruby project's folder and watch the magic happen.
$ cd my/cool/ruby/project
$ rubbycop
Compatibility
RubbyCop supports the following Ruby implementations:
- MRI 2.0
- MRI 2.1
- MRI 2.2
- MRI 2.3
- MRI 2.4
- JRuby 9.0+
- Rubinius 2.0+
Logo
RuboCop's logo was originally created by Dimiter Petrov. To disambiguate this project from RuboCop, we changed it. You can find the logo in various formats here.
The logo is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
Copyright
Copyright (c) 2012-2017 Bozhidar Batsov and Copyright (c) 2017 Test Double, LLC. See LICENSE.txt for further details.