The project is in a healthy, maintained state
Reusable RuboCop configuration for CargoSense's Ruby projects.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

rubocop-cargosense

Reusable RuboCop configuration for CargoSense's Ruby projects.

Gem Downloads Build

Installation

Add rubocop-cargosense to your project's Gemfile and run bundle install:

gem "rubocop-cargosense", require: false

Usage

Include rubocop-cargosense in your project's .rubocop.yml using RuboCop's require directive:

# .rubocop.yml
require:
  - rubocop-cargosense

Tip

If rubocop-cargosense is your project's only RuboCop extension, you can simplify the above directive: require: rubocop-cargosense

Or, inherit rubocop-cargosense's default configuration using RuboCop's inherit_gem directive:

# .rubocop.yml
inherit_gem:
  rubocop-cargosense: config/default.yml

You may also inherit individual configuration files from rubocop-cargosense:

# .rubocop.yml
inherit_gem:
  rubocop-cargosense:
    - config/rubocop-layout.yml
    - config/rubocop-performance.yml

Warning

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.