Skip to content

retrieva/retrieva-cop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.