Articulate MarkOps Shared RuboCop config

Installation

Currently targets Ruby 2.6

Add this line to your app's Gemfile (You do not need to add rubocop as a dependency in your Gemfile):

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

And then run:

$ bundle install

art-rubocop comes bundled with:

rubocop

rubocop-performance

rubocop-rails

rubocop-rspec

Usage

Copy the following code snippet into a .rubocop.yml in your app's root directory:

inherit_gem:
  art-rubocop:
    - default.yml

To lint your Ruby files run:

$ bundle exec rubocop

Release Instructions

  1. Update the spec.version number in art-rubocop.gemspec

  2. Run:

$ gem build art-rubocop.gemspec
  1. git push, git paid

Wiki

See the wiki for getting linting set up in your editor:

art-rubocop wiki