diff --git a/config/default.yml b/config/default.yml index 64e773ceb3f..bd2370ba520 100644 --- a/config/default.yml +++ b/config/default.yml @@ -3386,6 +3386,7 @@ Style/MethodCallWithArgsParentheses: IgnoredMethods: [] AllowParenthesesInMultilineCall: false AllowParenthesesInChaining: false + AllowParenthesesInCamelCaseMethod: false EnforcedStyle: require_parentheses SupportedStyles: - require_parentheses diff --git a/manual/cops_style.md b/manual/cops_style.md index 839abb6538a..f6b5162525b 100644 --- a/manual/cops_style.md +++ b/manual/cops_style.md @@ -2902,6 +2902,7 @@ IgnoreMacros | `true` | Boolean IgnoredMethods | `[]` | Array AllowParenthesesInMultilineCall | `false` | Boolean AllowParenthesesInChaining | `false` | Boolean +AllowParenthesesInCamelCaseMethod | `false` | Boolean EnforcedStyle | `require_parentheses` | `require_parentheses`, `omit_parentheses` ### References