Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 705 Bytes

README.md

File metadata and controls

43 lines (29 loc) · 705 Bytes

iex-style

InterExchange shared style configs.

Installation

Add this line to your application's Gemfile:

group :test, :development do
  gem "iex-style", github: "interexchange/iex-style"
end

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

spec.add_development_dependency "iex-style"

And then run:

$ bundle install

Usage

Create a .rubocop.yml with the following directives:

inherit_gem:
  iex-style:
    - default.yml

Now, run:

$ bundle exec rubocop

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