0.0
The project is in a healthy, maintained state
Skiftle's shared RuboCop configuration
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

>= 1.75.0, < 2.0
>= 1.0, < 2.0
>= 2.0, < 3.0
>= 0.6, < 1.0
>= 3.0, < 4.0
 Project Readme

rubocop-skiftle

Skiftle's shared RuboCop configuration. Includes rubocop-canon cops with Skiftle defaults.

Presets

Preset Use for Includes
rubocop-gem.yml Ruby gems Canon cops, Layout, Style, Metrics, Naming, Lint, RSpec
rubocop-app.yml Rails apps Everything in gem + Rails overrides + standard excludes

Both presets inherit from rubocop-base.yml which contains all shared rules.

Installation

Add to your Gemfile:

gem 'rubocop-skiftle', require: false

For a gem:

# .rubocop.yml
inherit_gem:
  rubocop-skiftle: rubocop-gem.yml

For a Rails app:

# .rubocop.yml
inherit_gem:
  rubocop-skiftle: rubocop-app.yml

License

MIT