erblint: avoid parentheses for method calls with no arguments
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 27 Mar 2019 09:59:10 +0000 (10:59 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 27 Mar 2019 09:59:10 +0000 (10:59 +0100)
.erb-lint.yml
app/views/site/index.html.erb

index 340cfd297caadcec8be0a446306af483d1dcbc78..f1da5efb3c5bb0ccbaf764ecb9b61c7f6483a38b 100644 (file)
@@ -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:
index 7603bb1bdd0c26fbcb3c9fa0e0e9d9f8a94a2574..6e3f69a7dcecd393b7c6d079e3e8a3e39dfc677c 100644 (file)
@@ -1,4 +1,4 @@
 <%
-   set_title()
+   set_title
    content_for(:content_class) { "overlay-sidebar" }
 %>