How to Install ruby-rubocop-rspec in Ubuntu 18.04



Install ruby-rubocop-rspec by entering the following commands in the terminal:

sudo apt update
sudo apt install ruby-rubocop-rspec

Description:

Code style checking for RSpec files

ruby-rubocop-rspec is Ruby library that provides RSpec-specific analysis for your projects, as an extension to RuboCop. . Rubocop is a Ruby static code analyzer based on the community Ruby style guide.

Homepage: https://github.com/backus/rubocop-rspec

Version: 1.22.2-1

Section: universe/ruby