/rubocop-ronin

rubocop configuration for the ronin-rb project

Primary LanguageRubyMIT LicenseMIT

rubocop-ronin

Description

rubocop-ronin is a set of common rubocop rules for the ronin-rb project. This is necessary because rubocop's default configuration clashes with ronin-rb's coding style, or sometimes even differs from the defacto Ruby coding style.

Features

  • Overrides rubocop's default configuration to support ronin-rb's coding style.

Requirements

Install

Add the gem to the Gemfile:

gem 'rubocop',                 require: false, platform: :mri
gem 'rubocop-ronin', '~> 0.1', require: false, platform: :mri

Add the following lines to a ronin-* gem's .rubocop.yml file:

inherit_gem:
  rubocop-ronin: rubocop.yml

Development

  1. Fork It!
  2. Clone It!
  3. cd rubocop-ronin/
  4. bundle install
  5. git checkout -b my_feature
  6. Code It!
  7. git push origin my_feature