Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 847 Bytes

README.md

File metadata and controls

41 lines (30 loc) · 847 Bytes

Retrieva::Cop

Retrieva::Cop is a RuboCop configuration gem for Retrieva, inc. Highly inspiered by onkcop and deka_eiwakun

Installation

Add this line to your application's Gemfile:

group :development do
  gem "retrieva-cop", require: false
end

Usage

Add the following directive to your .rubocop.yml:

inherit_gem:
  retrieva-cop:
    - "config/rubocop.yml"
    # comment unless use rails cops
    - "config/rails.yml"
    # comment unless use rspec cops
    - "config/rspec.yml"

AllCops:
  TargetRubyVersion: 2.4
  # comment unless use rails cops
  TargetRailsVersion: 5.1
bundle exec rubocop <options...>

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/retrieva/retrieva-cop.