File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -12,15 +12,18 @@ This omakase style is automatically included with new Rails 8 applications. But
1212
1313First 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
1719Then run ` bundle ` , then ` bundle binstubs rubocop ` .
1820
1921Then 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/ ) .
You can’t perform that action at this time.
0 commit comments