rubocop-cargosense
Reusable RuboCop configuration for CargoSense's Ruby projects.
Installation
Add rubocop-cargosense to your project's Gemfile and run bundle install:
gem "rubocop-cargosense", require: falseUsage
Include rubocop-cargosense in your project's .rubocop.yml using RuboCop's plugins directive:
plugins: rubocop-cargosenseOr, inherit rubocop-cargosense's default configuration using RuboCop's inherit_gem directive:
inherit_gem:
rubocop-cargosense: config/default.ymlYou may also inherit individual configuration files from rubocop-cargosense:
inherit_gem:
rubocop-cargosense:
- config/rubocop-layout.yml
- config/rubocop-performance.ymlWarning
While the above piecemeal usage is permissible, we recommend requiring the default configuration in its entirety.
License
rubocop-cargosense is freely available under the MIT License.