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