From: Andy Allan Date: Wed, 27 Mar 2019 09:59:10 +0000 (+0100) Subject: erblint: avoid parentheses for method calls with no arguments X-Git-Tag: live~3225^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/3834ed45e6a383dc5b4fd72090abf692731ecd52?ds=sidebyside erblint: avoid parentheses for method calls with no arguments --- diff --git a/.erb-lint.yml b/.erb-lint.yml index 340cfd297..f1da5efb3 100644 --- a/.erb-lint.yml +++ b/.erb-lint.yml @@ -50,8 +50,6 @@ linters: Enabled: false # TODO Style/WordArray: Enabled: false # TODO - Style/MethodCallWithoutArgsParentheses: - Enabled: false # TODO Layout/LeadingBlankLines: Enabled: false # TODO Style/NestedParenthesizedCalls: diff --git a/app/views/site/index.html.erb b/app/views/site/index.html.erb index 7603bb1bd..6e3f69a7d 100644 --- a/app/views/site/index.html.erb +++ b/app/views/site/index.html.erb @@ -1,4 +1,4 @@ <% - set_title() + set_title content_for(:content_class) { "overlay-sidebar" } %>