Skip to content

servactory/rubocop

Repository files navigation

Servactory

A set of tools for building reliable services of any complexity.

Gem version Release Date Gem version Release Date

Servactory style for RuboCop

Installation

First add this to your Gemfile:

gem "servactory-rubocop", require: false, group: %i[development]

Then run bundle, then bundle binstubs rubocop.

Then add a default .rubocop.yml file in the root of your application with:

inherit_gem:
  servactory-rubocop: rubocop-rails.yml
  # or
  # servactory-rubocop: rubocop-gem.yml

Now you can run ./bin/rubocop to check for compliance and ./bin/rubocop -a to automatically fix violations.

Contributing

This project is intended to be a safe, welcoming space for collaboration. Contributors are expected to adhere to the Contributor Covenant code of conduct. We recommend reading the contributing guide as well.

License

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