0.0
The project is in a healthy, maintained state
Shared RuboCop rules for Ruby projects at Dubit
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 13

Runtime

~> 0.51.0
~> 1.58.0
~> 2.22.2
~> 2.25.0
 Project Readme

RuboCop Dubit

Composable .rubocop configuration files for Dubit's styleguides for Ruby, Rails, RSpec and Haml.

Heavily inspired by https://github.com/alphagov/rubocop-govuk

Installation

Add rubocop-dubit to your Gemfile and then run bundle install:

# Gemfile
gem 'rubocop-dubit', git: 'git@github.com:dubit/rubocop-dubit.git', require: false

Then inherit the default rules by adding the following in your project:

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

inherit_mode:
  merge:
    - Exclude