🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

rubocop-emotionsar

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rubocop-emotionsar

bundlerRubygems
Version
1.0.0
Version published
Maintainers
1
Created
Source

Rubocop::Emotionsar

emotionsAR styleguide 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.

FAQs

Package last updated on 20 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts