IMPORTANT: This repo has been replaced by
link:https://github.com/BrandsInsurance/rubocop-rubomatic[``rubocop-rubomatic``]
= Rubomatic
Gem for shared rubocop config for BrandsInsurance
== Installation
Add this line to your application's Gemfile:
[source,ruby]
gem 'rubomatic', require: false
And then execute:
$ bundle install
Or install it yourself as:
$ gem install rubomatic
== Usage
Add the following to your .rubocop.yml
config file
[source,yaml]
inherit_gem:
rubomatic: configs/rubocop.yml
If you need to override a setting:
[source,yaml]
Add to Naming/VariableNumber.AllowedIdentifiers
inherit_gem:
rubomatic: configs/rubocop.yml
Naming/VariableNumber:
inherit_mode:
merge:
- AllowedIdentifiers
AllowedIdentifiers:
- street_2
[source,yaml]
Completely override Naming/VariableNumber.AllowedIdentifiers
inherit_gem:
rubomatic: configs/rubocop.yml
Naming/VariableNumber:
inherit_mode:
override:
- AllowedIdentifiers
AllowedIdentifiers:
- street_2
== Changelog
See xref:./CHANGELOG.adoc[CHANGELOG] see see changes