Shared style configs for rubocop.
Add this to your application's Gemfile:
group :development, :test do
gem 'srp-style', github: 'srpatx/srp-style', require: false
end
Create a .rubocop.yml
with the following directives (or pick and choose):
inherit_gem:
srp-style:
- rubocop.yml
- rubocop_performance.yml
- rubocop_rake.yml
- rubocop_rails.yml
- rubocop_rspec.yml
You can include, exclude, or modify cop configuration in your .rubocop.yml
file.
You do not need to include rubocop directly in your application's dependencies (unless you're using an unpublished version of rubocop).
This will include the necessary rubocop-*
gems.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the SRP::Style project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.