Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,18 @@ This omakase style is automatically included with new Rails 8 applications. But

First add this to your Gemfile:

`gem "rubocop-rails-omakase", require: false, group: [ :development ]`
```ruby
gem "rubocop-rails-omakase", require: false, group: [ :development ]
```

Then run `bundle`, then `bundle binstubs rubocop`.

Then add a default `.rubocop.yml` file in the root of your application with:

```
```yml
# Omakase Ruby styling for Rails
inherit_gem: { rubocop-rails-omakase: rubocop.yml }
inherit_gem:
rubocop-rails-omakase: rubocop.yml

# Your own specialized rules go here
```
Expand All @@ -37,4 +40,4 @@ The only type of contributions that will be considered is those pertaining to bu

## License

This gem is released under the MIT License.
This gem is released under the [MIT License](https://opensource.org/license/mit/).