From 3834ed45e6a383dc5b4fd72090abf692731ecd52 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 27 Mar 2019 10:59:10 +0100 Subject: [PATCH] erblint: avoid parentheses for method calls with no arguments --- .erb-lint.yml | 2 -- app/views/site/index.html.erb | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) 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" } %> -- 2.43.2