Skip to content

Talkable shared style configs.

License

Notifications You must be signed in to change notification settings

talkable/talkable-style

Repository files navigation

talkable-style

Talkable shared style configs.

Installation

Add this line to your application's Gemfile:

group :test, :development do
  gem "talkable-style"
end

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

spec.add_development_dependency "talkable-style"

And then run:

$ bundle install

Usage

Create a .rubocop.yml with the following directives:

inherit_gem:
  talkable-style:
    - default.yml

Now, run:

$ bundle exec rubocop

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