An open API service indexing awesome lists of open source software.

https://github.com/servactory/rubocop

Styling for Ruby Gems & Rails projects
https://github.com/servactory/rubocop

Last synced: 4 months ago
JSON representation

Styling for Ruby Gems & Rails projects

Awesome Lists containing this project

README

          






Servactory



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


Gem version
Release Date

# Servactory style for RuboCop

## Installation

First add this to your Gemfile:

```ruby
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:

```yml
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](http://contributor-covenant.org) code of conduct.
We recommend reading the [contributing guide](https://servactory.com/CONTRIBUTING) as well.

## License

Servactory is available as open source under the terms of the [MIT License](./LICENSE).