Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 627 Bytes

README.md

File metadata and controls

44 lines (31 loc) · 627 Bytes

rails_style

Unify Rails development style across rails projects. Inspired by percy-style.

Installation

Add to your Gemfile:

group :development, :test do
  gem 'rails_style', github: 'ZeusWPI/rails_style'
end

Run

bundle install

Usage

Automatic

Run

rake rails_style:install

Manual

Create a .rubocop.yml file with:

inherit_gem:
  rails_style:
    - default.yml

When adding this to a new project, run bundle exec rubocop --auto-gen-config to start with a "clean" slate.

Run

bundle exec rubocop