percy-style
Percy shared style configs.
Installation
Add this line to your application's Gemfile:
group :test, :development do
gem 'percy-style'
endOr, for a Ruby library, add this to your gemspec:
spec.add_development_dependency 'percy-style'And then run:
$ bundle installUsage
Create a .rubocop.yml with the following directives:
inherit_gem:
percy-style:
- default.ymlNow, run:
$ bundle exec rubocopYou do not need to include rubocop directly in your application's dependencies. Percy-style will include a specific version of rubocop and rubocop-rspec that is shared across all projects.