Skip to content

Commit 9bc07c0

Browse files
author
David Heinemeier Hansson
authored
Merge pull request #2 from guillaumebriday/patch-1
2 parents 7e8e6e2 + c228c39 commit 9bc07c0

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,18 @@ This omakase style is automatically included with new Rails 8 applications. But
1212

1313
First add this to your Gemfile:
1414

15-
`gem "rubocop-rails-omakase", require: false, group: [ :development ]`
15+
```ruby
16+
gem "rubocop-rails-omakase", require: false, group: [ :development ]
17+
```
1618

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

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

21-
```
23+
```yml
2224
# Omakase Ruby styling for Rails
23-
inherit_gem: { rubocop-rails-omakase: rubocop.yml }
25+
inherit_gem:
26+
rubocop-rails-omakase: rubocop.yml
2427

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

3841
## License
3942

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

0 commit comments

Comments
 (0)