0.0
The project is in a healthy, maintained state
This is the rubocop configuration we use at inhouse.work for all our projects
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Project Readme

RuboCop Inhouse

This repository provides recommended RuboCop configuration and additional Cops for use on InHouse open source and internal Ruby projects, and is the home of InHouse's Ruby Style Guide.

We set this repository up with inspiration from Github's rubocop config.

Usage

Add rubocop-inhouse to your Gemfile, along with its dependencies:

gem "rubocop-inhouse", require: false

Inherit all of the stylistic rules and cops through an inheritance declaration in your .rubocop.yml:

require:
  - rubocop-inhouse
inherit_gem:
  rubocop-inhouse:
  - config/default.yml # generic Ruby rules and cops
  - config/rails.yml # Rails-specific rules and cops

AllCops:
  NewCops: enable

# The rest of your overrides here

For more granular control over which of RuboCop's rules are enabled for your project, both from this gem and your own configs, consider using the DisabledByDefault: true option under AllCops in your project's .rubocop.yml file. This will disable all cops by default, and you can then explicitly enable the ones you want by setting Enabled: true. See the RuboCop docs for more information.