rubocop-style.yml in gitlab-styles-6.3.0 vs rubocop-style.yml in gitlab-styles-6.4.0
- old
+ new
@@ -295,9 +295,13 @@
# Favor the ternary operator(?:) over if/then/else/end constructs.
Style/OneLineConditional:
Enabled: true
+# Do not use OpenStruct.
+Style/OpenStructUse:
+ Enabled: true
+
# Don't use parentheses around the condition of an if/unless/while.
Style/ParenthesesAroundCondition:
Enabled: true
# This cop (by default) checks for uses of methods Hash#has_key? and