satchel-ruby-styleguides

Team Satchel shared style configs.

Installation

Add this line to your application's Gemfile:

group :test, :development do
  gem 'satchel-ruby-styleguides'
end

Or, for a Ruby library, add this to your gemspec:

spec.add_development_dependency 'satchel-ruby-styleguides'

And then run:

$ bundle install

Usage

Create a .rubocop.yml with the following directives:

inherit_gem:
  satchel-ruby-styleguides:
    - default.yml

Now, run:

$ bundle exec rubocop

You do not need to include rubocop directly in your application's dependences. Percy-style will include a specific version of rubocop and rubocop-rspec that is shared across all projects.