Sha256: 2d53fe487924eb4573832570e24595e53678b846da449d08a7d5a34a66ce75c0
Contents?: true
Size: 792 Bytes
Versions: 2
Compression:
Stored size: 792 Bytes
Contents
# My rubocop setup Config in `./config` ## Usage Add `rubocop-rickselby` to your Gemfile: ```ruby group :development, :test do gem "rubocop-rickselby", "~> 0.1", require: false # If you are using rails: gem "rubocop-rails", require: false gem "rubocop-rails-accessibility", require: false # If you are using rspec: gem "rubocop-rspec", require: false # If you are using capybara: gem "rubocop-capybara", require: false end ``` Inherit the configuration in your `.rubocop.yml`: ```yaml # .rubocop.yml inherit_gem: rubocop-rickselby: - config/default.yml # generic Ruby rules and cops - config/rails.yml # Rails-specific rules and cops - config/rspec.yml # RSpec-specific rules and cops - config/capybara.yml # capybara-specific rules and cops ```
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubocop-rickselby-0.5.0 | README.md |
rubocop-rickselby-0.4.0 | README.md |