Guild Education shared RuboCop config
Add this line to your application's Gemfile:
gem 'rubocop-guild'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rubocop-guild
This gem exposes a Rake task that will perform the installation for you:
rake guild:rubocop:install
Add this to the top of your .rubocop.yml
:
inherit_gem:
rubocop-guild:
- config/guild.yml
If you want to override the settings, do that below these lines.
Clone the repo and make the associated changes to the config/guild.yml
file.
In addition, please follow these guildlines:
- Associated cop definitions should be grouped
- Cops should be in alphabetical order within their groups. This makes it easier to look up the cop in the RuboCop documentation
Make sure you've been granted publish access to the rubygem
- Increment the gem version in rubocop-guild.gemspec
- Run
bin/rake release
. This will create a new tag based on the version, push the tag to Github, and then push the gem to Rubygems