Repository is archived
No commit activity in last 3 years
No release in over 3 years
Custom Rails-specific Rubocop cops for our internal development purposes
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.1, >= 2.1.4
~> 13.0
~> 3.0

Runtime

~> 1.10
 Project Readme

UmtsCustomCops

This gem is no longer under development. All of the cops contained in this gem are also available in the rubocop-rspec gem.

Migrating to rubocop-rspec

  • Remove gem 'umts-custom-cops' from your Gemfile
  • Add gem 'rubocop-rspec' to your Gemfile
  • Remove require: umts-custom-cops from your .rubocop.yml file
  • Add require: rubocop-rspec to your .rubocop.yml file

If you only want a version of the two cops provided by this gem, you can add the following to your .rubocop.yml file:

RSpec:
  Enabled: false

RSpec/BeEql:
  Enabled: true

RSpec/PredicateMatcher:
  Enabled: true

Also, if you have a custom .yml file to get this gem to work under CodeClimate, you will not need to do that with rubocop-rspec. It is included in the CodeClimate engine.

License

The gem is available as open source under the terms of the MIT License.