From 7ebfb319ffbfc1f9d3dc5439052ae06019bf4290 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Fri, 1 Feb 2019 14:16:55 +0900 Subject: Enable `Lint/ErbNewArguments` cop to avoid the deprecated arguments warning Related 5754a29a974d31cab2b4392716b9825a3d910a69. And follows Ruby standard library style https://github.com/ruby/ruby/commit/3406c5d. --- .rubocop.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to '.rubocop.yml') diff --git a/.rubocop.yml b/.rubocop.yml index dce1a30d9f..618817daca 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -179,6 +179,9 @@ Layout/TrailingWhitespace: Style/UnneededPercentQ: Enabled: true +Lint/ErbNewArguments: + Enabled: true + # Use my_method(my_arg) not my_method( my_arg ) or my_method my_arg. Lint/RequireParentheses: Enabled: true -- cgit v1.2.3