platform-style

Shared style configs for Platform projects.

Installation

Add this line to your application's Gemfile:

group :test, :development do
  gem 'platform-style'
end

And then run:

$ bundle install

Usage

Create a .rubocop.yml with the following directives:

inherit_gem:
  platform-style:
    - default.yml

Now, run:

$ bundle exec rubocop

You do not need to include rubocop directly in your application's dependencies. Platform-style will include specific versions of rubocop and associated extensions that is shared across all projects.