The project is in a healthy, maintained state
Default Rubocop configuration used in NoSoloSoftware developments
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
 Dependencies
 Project Readme

rubocop-nosolosoftware Gem

Common Rubocop config for all our projects.

Please if you are using rubocop < 1.0 use the branch 0.x and rubocop-nosolosoftware < 1.0.

Installation

Add this line to your application's Gemfile:

gem 'rubocop-nosolosoftware', require: false

And then execute:

$ bundle

Or install it yourself as:

$ gem install rubocop-nosolosoftware

Usage

Include the following in your .rubocop.yml

For Ruby:

inherit_gem:
  rubocop-nosolosoftware: rubocop-default.yml

For Rails:

inherit_gem:
  rubocop-nosolosoftware:
    - rubocop-default.yml
    - rubocop-rails.yml

Optional Rake, Faker and Rspec rules:

inherit_gem:
  rubocop-nosolosoftware:
    - rubocop-default.yml
    - rubocop-rails.yml
    - rubocop-rake.yml
    - rubocop-rspec.yml
    - rubocop-faker.yml

For Mongoid projects:

inherit_gem:
  rubocop-nosolosoftware:
    - rubocop-default.yml
    - rubocop-rails.yml
    - rubocop-rake.yml
    - rubocop-rspec.yml
    - rubocop-faker.yml
    - rubocop-mongoid.yml

Inheritance of array attributes

Don't forget to include the following in your configuration file:

inherit_mode:
  merge:
    - Exclude
    - Prefixes

Contributing

Bug reports and merge requests are welcome on Github at https://github.com/nosolosoftware/rubocop-nosolosoftware using GitHub Flow. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

Versioning

rubocop-nosolosoftware uses Semantic Versioning 2.0.0

License

Copyright (c) 2019-2020 NoSoloSoftware Network S.L. - Released under MIT license.