config/rails.yml in rubocop-github-0.4.0 vs config/rails.yml in rubocop-github-0.4.1
- old
+ new
@@ -26,16 +26,10 @@
GitHub/RailsControllerRenderActionSymbol:
Enabled: true
Include:
- 'app/controllers/**/*.rb'
-GitHub/RailsControllerRenderInline:
- Enabled: true
- StyleGuide: https://github.com/github/rubocop-github/blob/master/guides/rails-controller-render-inline.md
- Include:
- - 'app/controllers/**/*.rb'
-
GitHub/RailsControllerRenderLiteral:
Enabled: true
StyleGuide: https://github.com/github/rubocop-github/blob/master/guides/rails-render-literal.md
Include:
- 'app/controllers/**/*.rb'
@@ -50,9 +44,18 @@
GitHub/RailsControllerRenderShorthand:
Enabled: true
StyleGuide: https://github.com/github/rubocop-github/blob/master/guides/rails-controller-render-shorthand.md
Include:
- 'app/controllers/**/*.rb'
+
+GitHub/RailsRenderInline:
+ Enabled: true
+ StyleGuide: https://github.com/github/rubocop-github/blob/master/guides/rails-controller-render-inline.md
+ Include:
+ - 'app/controllers/**/*.rb'
+ - 'app/helpers/**/*.rb'
+ - 'app/view_models/**/*.rb'
+ - 'app/views/**/*.erb'
GitHub/RailsRenderObjectCollection:
Enabled: false
GitHub/RailsViewRenderLiteral: