Articulate MarkOps Shared RuboCop config
Installation
Currently targets Ruby 3.1
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:
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
Update the
spec.version
number in art-rubocop.gemspecRun:
$ gem build art-rubocop.gemspec
- gem push pkg/art-rubocop-
.gem
Wiki
See the wiki for getting linting set up in your editor: