Important
|
This repo has been replaced by
rubocop-rubomatic
|
Rubomatic
Gem for shared rubocop config for BrandsInsurance
Installation
Add this line to your application’s Gemfile:
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
inherit_gem:
rubomatic: configs/rubocop.yml
If you need to override a setting:
# Add to Naming/VariableNumber.AllowedIdentifiers
inherit_gem:
rubomatic: configs/rubocop.yml
Naming/VariableNumber:
inherit_mode:
merge:
- AllowedIdentifiers
AllowedIdentifiers:
- street_2
# Completely override Naming/VariableNumber.AllowedIdentifiers
inherit_gem:
rubomatic: configs/rubocop.yml
Naming/VariableNumber:
inherit_mode:
override:
- AllowedIdentifiers
AllowedIdentifiers:
- street_2
Changelog
See CHANGELOG see see changes