No commit activity in last 3 years
No release in over 3 years
Provides basic configuration for rubocop to be used in Ruby on Rails projects. It also provides performance, rails, minitest and rake extensions
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.1
~> 13.0

Runtime

 Project Readme

emotionsAR Style guide

Gem Version

emotionsAR style guide for Ruby on Rails projects

Installation

Add this line to your application's Gemfile:

group :development, :test do
  gem 'rubocop-emotionsar'
end

And then run

$ bundle install

Usage

Create a .rubocop.yml file and include the following directives at the top of it:

inherit_gem:
  rubocop-emotionsar: style.yml

Also the target ruby and rails versions should be specifier per each project:

AllCops:
  TargetRubyVersion: 2.4   # default as per rubocop:0.81.0
  TargetRailsVersions: 5.0 # default as per rubocop-rails:2.5.2

And run:

bundle exec rubocop

Rubocop does not need to be installed in your dependencies, rubocop-emotionsar already includes a specific rubocop version in its dependencies.

License

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