From 7e6b0245ecc4c0c29a4f31eab848b41d0ec2e6c2 Mon Sep 17 00:00:00 2001 From: Daniel Azuma Date: Tue, 22 Jan 2019 14:31:26 -0800 Subject: [PATCH] Add AllowParenthesesInCamelCaseMethod option to default config --- config/default.yml | 1 + manual/cops_style.md | 1 + 2 files changed, 2 insertions(+) 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