Sha256: d640033178663bf34e2aac2958f93eca7f9814b2d6f1de0c11d679466bb03543

Contents?: true

Size: 1011 Bytes

Versions: 4

Compression:

Stored size: 1011 Bytes

Contents

# My rubocop setup

Config in `./config`

## Installation

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 desired 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
```

## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/rickselby/rubocop-rickselby.

## License
The gem is available as open source under the terms of the MIT License.

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rubocop-rickselby-0.9.0 README.md
rubocop-rickselby-0.8.0 README.md
rubocop-rickselby-0.7.0 README.md
rubocop-rickselby-0.6.0 README.md