diff options
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index 5bd31ccf329..f4377757696 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -338,6 +338,19 @@ Style/OpMethod: Style/ParenthesesAroundCondition: Enabled: true +Style/PercentLiteralDelimiters: + Enabled: true + PreferredDelimiters: + '%': '()' + '%i': '[]' + '%q': '()' + '%Q': '()' + '%r': '{}' + '%s': '()' + '%w': '[]' + '%W': '[]' + '%x': '()' + # Checks for parentheses that seem not to serve any purpose. Style/RedundantParentheses: Enabled: true |