From 4285b92c00492e422e32324fa5b9acb5e86dd2e3 Mon Sep 17 00:00:00 2001 From: "Viet (Drake) Tran" Date: Wed, 30 Jan 2019 12:15:32 +0700 Subject: [PATCH 1/2] Update default.yml I got this warning for current config file. ``` Warning: Style/MethodCallWithArgsParentheses does not support AllowParenthesesInCamelCaseMethod parameter. Supported parameters are: - Enabled - IgnoreMacros - IgnoredMethods - AllowParenthesesInMultilineCall - AllowParenthesesInChaining - EnforcedStyle - SupportedStyles ``` --- config/default.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/config/default.yml b/config/default.yml index f6510766816..ecbf8abf652 100644 --- a/config/default.yml +++ b/config/default.yml @@ -3393,7 +3393,6 @@ Style/MethodCallWithArgsParentheses: IgnoredMethods: [] AllowParenthesesInMultilineCall: false AllowParenthesesInChaining: false - AllowParenthesesInCamelCaseMethod: false EnforcedStyle: require_parentheses SupportedStyles: - require_parentheses From 8443f92df4e11b769add2db23158440f25263594 Mon Sep 17 00:00:00 2001 From: "Viet (Drake) Tran" Date: Wed, 30 Jan 2019 12:20:35 +0700 Subject: [PATCH 2/2] Update documentation --- manual/cops_style.md | 1 - 1 file changed, 1 deletion(-) diff --git a/manual/cops_style.md b/manual/cops_style.md index 4c38c8065cb..7b03528b326 100644 --- a/manual/cops_style.md +++ b/manual/cops_style.md @@ -2902,7 +2902,6 @@ IgnoreMacros | `true` | Boolean IgnoredMethods | `[]` | Array AllowParenthesesInMultilineCall | `false` | Boolean AllowParenthesesInChaining | `false` | Boolean -AllowParenthesesInCamelCaseMethod | `false` | Boolean EnforcedStyle | `require_parentheses` | `require_parentheses`, `omit_parentheses` ### References