https://github.com/dvandersluis/rubocop_defaults
Rubocop default options for my projects
https://github.com/dvandersluis/rubocop_defaults
Last synced: about 1 year ago
JSON representation
Rubocop default options for my projects
- Host: GitHub
- URL: https://github.com/dvandersluis/rubocop_defaults
- Owner: dvandersluis
- Created: 2018-08-16T15:33:33.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-04-04T19:44:10.000Z (about 5 years ago)
- Last Synced: 2025-01-24T01:42:16.490Z (over 1 year ago)
- Language: Ruby
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rubocop Defaults
This gem just has my rubocop defaults for easy inclusion in other projects.
## Usage
Add this line to your application's Gemfile (to use the gem in another gem, put the `gem` call in `group :development` so that it is not added as a dependency when the gem is installed):
```ruby
gem 'rubocop_defaults', github: 'dvandersluis/rubocop_defaults'
```
Add the following to `.rubocop.yml`
```yaml
inherit_gem:
rubocop_defaults: .rubocop.yml
inherit_mode:
merge:
- Exclude
```